Commit graph

61 commits

Author SHA1 Message Date
Jorge Gallegos
41f6d22780
Sanity fixes 2025-05-28 12:44:46 -07:00
Jorge Gallegos
6ee6b698ef
Add discard_local_ssd flag to compute instance
If you have an instance with a Local (scratch) SSD attached you need to
specify the behavior for this when changing the status to TERMINATED
i.e. stopping the instance. Without setting this flag you'll get an
error back from the API.
2025-05-28 12:33:59 -07:00
Chris Hawk
1a7d4e3cda Add many no_log attributes 2024-11-05 14:06:56 -08:00
Shlomo Shuck
203961b045
feat: add auth support for GCP access tokens (#574)
Introduce choice "accesstoken" for auth_kind for modules
Introduce optional access_token string param that falls back to
  GCP_ACCESS_TOKEN env var
2023-06-10 11:20:57 -07:00
Yusuke Tsutsumi
0fc41bbda4 WIP: fix compute instance + several tests
compute selflinks return back `wwww.googleapis.com` as the domain,
which was causing a perma-diff. Fixing google.cloud's normalization
fixes that.

Fixing the following tests as well, since creating an instance
now works:

- gcp_compute_instance
- gcp_compute_instance_group
- gcp_compute_instance_group_manager
- gcp_compute_instance_template
- gcp_compute_region_autoscaler
- gcp_compute_region_instance_group_manager
- gcp_compute_target_instance
- gcp_compute_target_pool
2022-11-13 22:28:40 -08:00
Bill Dinger
0cece672cf Added in link to where machineTypes are defined 2022-11-12 11:18:03 -08: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
301cd30a71
Add support for confidential compute instances to the ansible collection (#4665) (#406)
* products/compute/api.yaml: Add support for confidentialInstanceConfig parameter

* products/compute/api.yaml: Improve wording of property descriptions

Signed-off-by: Modular Magician <magic-modules@google.com>
2021-04-19 08:54:05 -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
1508e9ab2e
Fixed KeyError due to deletionProtection (#2762) (#163)
Signed-off-by: Satyajit Bulage <sbulage@redhat.com>
Signed-off-by: Modular Magician <magic-modules@google.com>
2020-03-01 18:21:04 -08: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
Rimantas Ragainis
601625de62 Update instance.yaml
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-11-20 21:03:04 +00:00
Alex Stephen
8013a6bde0 adding fields to compute#instance.accessConfigs[]
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-16 20:56:34 +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
7085a06925 issue with async + decoders (#357)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:18 -07:00
The Magician
1c906b1c2c added hostname on compute instances (#356)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:18 -07:00
The Magician
2678243563 Adding new options to Compute Instance (#339)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:17 -07:00
The Magician
8ebb52f87a changing description on networkInterfaces.network (#331)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:15 -07: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
72e4cc7214 Spanner Fixes (#301)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:12 -07:00
The Magician
71accbf571 Converting names from short-name to partial URIs (#277)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:09 -07:00
The Magician
f0b41b7daa client side validation can't have docs with explicit choices (#258)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:02:58 -07:00
The Magician
b1795cda83 remove client side validation on enums (#256)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:02:57 -07:00
The Magician
cae62bd7c4 Add labels to Compute instance on ansible (#250)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:02:57 -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
84ecdd1802 Ansible - Remove output only from response (#216)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 18:02:40 -07:00
The Magician
5808ed651d Nested output: only properties shouldn't be fields (#207)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 18:02:16 -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
5f710afb3d Ansible: better field names on gcp_compute_instance (#185)
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:59:28 -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
f2746afceb Remove old gcompute wording (#163)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 17:54:44 -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
daaccb8079 Ansible: Instance On/Off
<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
2019-09-04 17:49:42 -07:00
The Magician
750cfa5089 Splitting out a small typo fix unrelated from #697 (#130)
<!-- This change is generated by MagicModules. -->
/cc @drebes
2019-09-04 17:49:41 -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
The Magician
0c291d57cd Magic Modules changes. (#101) 2019-09-04 17:49:39 -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
Alex Stephen
cdb4c9b272 Bug fixes for GCP modules (#51577) 2019-09-04 16:56:35 -07:00