Commit graph

46 commits

Author SHA1 Message Date
Jimmy Cui
7664483f19 fine tune variable style 2023-03-04 13:24:37 -05:00
Jimmy Cui
c95616aab2 add function to validate cidr superset 2023-03-02 17:47:29 -05:00
The Magician
fe79a8b1e1
Add generator information to generated resources (#5016) (#449)
Signed-off-by: Modular Magician <magic-modules@google.com>
2021-07-29 18:41:37 -05:00
The Magician
af5ff5f2b0
ansible: Change env variable (#4940) (#439)
User should read GCP_SERVICE_ACCOUNT_FILE instead of
gcp_service_account_file

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Signed-off-by: Modular Magician <magic-modules@google.com>
2021-07-01 10:23:29 -05:00
The Magician
cf599fd36f
add fingerprint for privateIpv6GoogleAccess (#4424) (#368)
Signed-off-by: Modular Magician <magic-modules@google.com>
2021-01-25 10:26:25 -08:00
The Magician
74679bffec
Direct google access (#4034) (#320)
Signed-off-by: Modular Magician <magic-modules@google.com>
2020-10-27 22:28:40 -07:00
The Magician
7fa00db18c
Add source snapshot to ansible (#300)
* Make `iap` field computed (#3814) (#272)

Signed-off-by: Modular Magician <magic-modules@google.com>

* add source_image and source_snapshot to google_compute_image (#3799) (#273)

* add source_image to google_compute_image

* add source_snapshot to google_compute_image

* PR comment changes

Signed-off-by: Modular Magician <magic-modules@google.com>

* Collection fixes for release (#3831) (#274)

Signed-off-by: Modular Magician <magic-modules@google.com>

* Add new field filter to pubsub. (#3759) (#275)

* Add new field filter to pubsub.

Fixes: https://github.com/terraform-providers/terraform-provider-google/issues/6727

* Fixed filter name, it was improperly set.

* add filter key to pubsub subscription unit test

* spaces not tabs!

* hardcode filter value in test

* revert remove escaped quotes

Co-authored-by: Tim O'Connell <hi@timoconnell.co.uk>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Tim O'Connell <hi@timoconnell.co.uk>

* Add archive class to gcs (#3867) (#276)

Signed-off-by: Modular Magician <magic-modules@google.com>

* Add support for gRPC healthchecks (#3825) (#277)

Signed-off-by: Modular Magician <magic-modules@google.com>

* Add enableMessageOrdering to Pub/Sub Subscription (#3872) (#278)

Add enableMessageOrdering to Pub/Sub Subscription

Signed-off-by: Modular Magician <magic-modules@google.com>

* use {product}.googleapis.com endpoints (#3755) (#279)

* use {product}.googleapis.com endpoints

* use actual correct urls

* fix zone data source test

* fix network peering tests

* possibly fix deleting default network

Signed-off-by: Modular Magician <magic-modules@google.com>

* Removed instances where input and output are both true (#3890) (#280)

* [provider-yaml] - Removed instances where input and output are both true

* modified to only supply output. Following pattern from bigquerydatatransfer

Co-authored-by: Scott Suarez <scottsuarez@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Scott Suarez <scottsuarez@google.com>

* retrypolicy attribute added (#3843) (#281)

* retrypolicy attribute added

* test case updated

Signed-off-by: Modular Magician <magic-modules@google.com>

* Advanced logging config options in google_compute_subnetwork (#3603) (#282)

Co-authored-by: Dana Hoffman <danahoffman@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Dana Hoffman <danahoffman@google.com>

* Add Erase Windows VSS support to compute disk (#3898) (#283)

Co-authored-by: Cameron Thornton <camthornton@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Cameron Thornton <camthornton@google.com>

* Add Snapshot location to compute snapshot (#3896) (#286)

* added storage locations

* add storage locations to field

* tweak cmek logic

* fix the decoder logic and cleanup whitespaces

* remove duplicate entry

Signed-off-by: Modular Magician <magic-modules@google.com>

* Added missing 'all' option for protocol firewall rule (#3962) (#287)

Signed-off-by: Modular Magician <magic-modules@google.com>

* Added support GRPC for google_compute_(region)_backend_service.protocol (#3973) (#289)

Co-authored-by: Edward Sun <sunedward@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Edward Sun <sunedward@google.com>

* Add schema update support to spanner db 2082 (#3947) (#291)

* eoncders and customdiff added for spanner DB ddl update

* config update test case added

* customdiff modified to handle out-of-index issue

* new lines added

* indent fixed

* indent fixed for tests

* test added for ddl update condition

* mock added Terraformresourcediff, unit tests added

* test fixed

* more unit tests added

* tests fixed

* PR comments implemented

* unit tests converted to table driven tests

* ImportStateVerifyIgnore flag added to tests

* syntax corrected in test

Signed-off-by: Modular Magician <magic-modules@google.com>

* Added properties of options & artifacts on google_cloudbuild_trigger (#3944) (#292)

* added options & artifacts to cloudbuild trigger

* updated with minor changes and added more options in test

* a test adding update behavior for multiple optional fields

Co-authored-by: Edward Sun <sunedward@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Edward Sun <sunedward@google.com>

* Enable TPUs to use Shared VPC (#3939) (#293)

* add support for shared vpc

* make cidr_block computable

* add diffsuppression

* tweak diffsupression to ignore when network has a change

* rework diffsupress

* add customizediff

* switch the diff checks

Signed-off-by: Modular Magician <magic-modules@google.com>

* Add SEV_CAPABLE option to google_compute_image (#3994) (#294)

Signed-off-by: Modular Magician <magic-modules@google.com>

* Update docs for pubsub targets in cloud scheduler (#4008) (#295)

Signed-off-by: Modular Magician <magic-modules@google.com>

* Make RegionBackendService health checks optional (#4053) (#297)

Signed-off-by: Modular Magician <magic-modules@google.com>

* Update terminology for IAM roles (#4056) (#299)

Roles like "Owner" and "Editor" are now called "basic roles": https://cloud.google.com/iam/docs/understand

Signed-off-by: Modular Magician <magic-modules@google.com>

* Add source snapshot to ansible (#4060)

Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Tim O'Connell <hi@timoconnell.co.uk>
Co-authored-by: Scott Suarez <scottsuarez@google.com>
Co-authored-by: Dana Hoffman <danahoffman@google.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
Co-authored-by: Edward Sun <sunedward@google.com>
2020-10-06 15:39:08 -07:00
The Magician
215727fbd6
make subnetwork region forcenew and update its description (#3599) (#233)
Signed-off-by: Modular Magician <magic-modules@google.com>
2020-06-03 10:59:24 -07:00
The Magician
69dc784c16
need elements listed in docs (#3141) (#161)
Signed-off-by: Modular Magician <magic-modules@google.com>
2020-02-18 22:32:06 -08:00
Alex Stephen
5b408a490d Moving Ansible fingerprint to match TF
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-12-06 22:32:46 +00:00
Riley Karson
bafefea662 [DO NOT MERGE] 3.0.0 staging branch
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-11-13 21:02:40 +00:00
Denis
331c5645e7 Fix erronous lowercase c character
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-22 18:28:01 +00:00
Alex Stephen
516fada880 Adding namespace on integration tests + examples
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-30 22:08:25 +00:00
Alex Stephen
9f450df983 use module utils from collection, not core
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-20 17:43:32 +00:00
Alex Stephen
84e760b022 removing documentation fragment
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-06 20:12:02 +00:00
The Magician
5967303b2d adding state info to docs (#317)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:13 -07:00
The Magician
43536a1e38 adding ansible types in documentation (#303)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:12 -07:00
The Magician
bbaf1a79c7 Reverting some ResourceRef changes (#226)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:02:55 -07:00
The Magician
ebd14d6e56 Use Ruby YAML library to serialize Ansible examples (#196)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 18:02:15 -07:00
The Magician
8dc179a47d Clarify Private Google Access docs on Subnetwork. (#187)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-09-04 17:59:29 -07:00
The Magician
ba60e76aee Fixing Ansible Integration tests (#175)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:54:46 -07:00
The Magician
99d5da337c Formatting changes related to upstream code generator cleanup. (#162)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 17:54:45 -07:00
The Magician
982933cfe8 Better resourceref flexibility (#149)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:54:34 -07:00
The Magician
6f218887e2 Not Suppressing values accidentally (#143)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:49:43 -07:00
The Magician
e63c0009e4 Ansible: falses being lost in network requests (#141) 2019-09-04 17:49:43 -07:00
The Magician
5e762dc9a1 Ansible Projects (#116)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:49:41 -07:00
Chris Stephens
8264deeb9c Empty commit with no code changes 2019-09-04 17:49:41 -07:00
The Magician
87656c4016 Documentation Refactor 2019-09-04 17:49:40 -07:00
Dana Hoffman
f1a96adf23 remove min_version from a bunch of fields that are in GA now 2019-09-04 17:49:26 -07:00
The Magician
d84be36a7a Reverting template change (#104) 2019-09-04 17:46:47 -07:00
The Magician
e87c2e837c Better documentation for how a resourceref works (#96)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:46:46 -07:00
The Magician
6aa571c1b8 Magic Modules changes. (#97)
Ensure that Ansible always returns full resource after update + no op
2019-09-04 17:46:46 -07:00
The Magician
b3c1afe126 Return values should be camelcase instead of underscored (#95) 2019-09-04 17:45:26 -07:00
The Magician
0a18332815 examples showing an improper auth value (#87)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:44:21 -07:00
The Magician
2837b2f836 Partial updates (#63) 2019-09-04 17:30:56 -07:00
The Magician
7c4d1c582b Object.input should == noneditable (#62)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:26:07 -07:00
Alex Stephen
657e45bb47 Bug fixes for GCP modules (#51573) 2019-09-04 16:56:36 -07:00
Alex Stephen
a81d110422 Bug fixes for GCP modules (as of 2019-01-22T12:43:52-08:00) (#51246) 2019-09-04 16:56:35 -07:00
Alex Stephen
87d1c171c5 Bug fixes for GCP modules (as of 2019-01-09T15:35:45-08:00) (#50784) 2019-09-04 16:56:33 -07:00
Alex Stephen
e2ea369ee6 GCP Bug Fixes (#49458)
* Bug fixes

* fixes as of 12/5/2018

* changes as of 12/06/2018
2019-09-04 16:54:17 -07:00
Alex Stephen
d64785e811 GCP Bug Fixes (#48276)
* GCP Bug fixes

* added util file changes
2019-09-04 16:54:17 -07:00
Ryan Brown
5c97cc1da0 GCP MagicModules bug fixes (#47285)
Closes: #46930 #46929 #46928 #46927 #46926 #46925 #46924 #46923 #46922 #46921 #46920 #46919 #46918 #46917 #46916 #46915 #46914 #46913 #46912 #46911 #46910 #46909 #46908 #46907 #46906 #46905 #46903 #46902 #46901 #46900 #46899 #46898 #46897 #46896 #46895 #46894 #46893 #46892 #46891 #46890 #46889 #46888 #46887 #46886 #46885 #46884 #46883 #46882 #46881 #46880 #46879 #46878 #46877 #46876 #46875 #46874 #46873 #46872 #46871 #46870 #46869 #46868 #46867 #46866 #46865 #46864 #46863 #46862 #46861 #46860 #46859 #46858 #46857 #46856 #46855 #46854 #46853 #46852
2019-09-04 16:53:40 -07:00
Alex Stephen
4c48a35878 Bug fixes for gcp_compute_subnetwork (#42822) 2019-09-04 16:27:40 -07:00
curry9999
71ce60d943 To improve readability, we added a line feed. (#43801)
* 	modified:   google/gcp_compute_backend_bucket.py
	modified:   google/gcp_compute_backend_service.py
	modified:   google/gcp_compute_forwarding_rule.py
	modified:   google/gcp_compute_global_forwarding_rule.py
	modified:   google/gcp_compute_image.py
	modified:   google/gcp_compute_instance.py
	modified:   google/gcp_compute_instance_group.py
	modified:   google/gcp_compute_instance_group_manager.py
	modified:   google/gcp_compute_instance_template.py
	modified:   google/gcp_compute_route.py
	modified:   google/gcp_compute_subnetwork.py
	modified:   google/gcp_compute_target_http_proxy.py
	modified:   google/gcp_compute_target_https_proxy.py
	modified:   google/gcp_compute_target_ssl_proxy.py
	modified:   google/gcp_compute_target_tcp_proxy.py
	modified:   google/gcp_compute_url_map.py
	modified:   google/gcp_container_node_pool.py
	modified:   google/gcp_dns_resource_record_set.py
	modified:   google/gcp_pubsub_subscription.py
	modified:   google/gcp_storage_bucket_access_control.py

* 	modified:   lib/ansible/modules/cloud/amazon/aws_ses_identity.py
	modified:   lib/ansible/modules/cloud/amazon/route53_facts.py
	modified:   lib/ansible/modules/cloud/cloudscale/cloudscale_server.py
	modified:   lib/ansible/modules/network/aos/_aos_logical_device.py
	modified:   lib/ansible/modules/network/aos/_aos_rack_type.py
	modified:   lib/ansible/modules/network/aos/_aos_template.py
	modified:   lib/ansible/modules/network/cumulus/nclu.py
	modified:   lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py
	modified:   lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py
2019-09-04 16:27:30 -07:00
Joren Vrancken
f642258817 Surround top-level function and class definitions with two blank lines. 2019-09-04 16:12:05 -07:00
Alex Stephen
dc7581611d New module: GCP Compute Subnetworks (#38621) 2019-09-04 15:57:06 -07:00