Commit graph

69 commits

Author SHA1 Message Date
Yusuke Tsutsumi
a9545c77a4 fix linting and updating maintenance guide
Updating the maintainers guide with updated intructions from
Ansible engineers.

Fixing linting issues, and adding the linter as a GitHub workflow
to ensure there are no regressions.
2022-12-07 15:36:21 -08:00
Yusuke Tsutsumi
5ea5ecda34 tests: enabling gcp_compute_backend_service test
with #393 merged, it is now possible to enable gcp_compute_backend_test.

Adding a temporary fix for server-normalized value of capacity_scaler,
which is resolving into perma-diff due to "1.0" != "1".
2022-11-05 15:16:49 -07:00
Lakhan Samani
da28bcb845 fix: fix finger print issue while updating gcp services
Resolves: https://github.com/ansible-collections/google.cloud/issues/342
2022-11-05 15:16:49 -07: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
536bef7166
set optional computed on fields that are conditional to balancing_mode (#4975) (#446)
Signed-off-by: Modular Magician <magic-modules@google.com>
2021-07-19 13:22:38 -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
04fcdf64b7
Promote CDN Policies to GA (#4914) (#436)
Co-authored-by: upodroid <cy@borg.dev>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: upodroid <cy@borg.dev>
2021-06-24 12:37:36 -07:00
The Magician
71a05be3af
Allow redisVersion to change, promoted some fields to GA (#4838) (#431)
* Allow redisVersion to change, promoted some fields to GA

* allow updating properties if update method is defined at the field level

* upgrade post url

* fix current resources to not reference url

* add support for forceNew if version is shrinking

* don't send request if not updating anything.. request fails if update mask is empty.. also add more tests

* fix spelling mistake

* fix rake issues

* remove transcription mode... forces new on change

Signed-off-by: Modular Magician <magic-modules@google.com>
2021-06-15 11:31:26 -07:00
The Magician
9eadc4b7fc
Promote customResponseHeaders to GA (#4872) (#430)
This change promotes custom_response_headers for
google_compute_backend_service and google_compute_backend_bucket
to GA.

Signed-off-by: Gorka Lerchundi Osa glertxundi@gmail.com
Signed-off-by: Modular Magician <magic-modules@google.com>
2021-06-15 08:18:50 -07:00
The Magician
64065c4935
[Ansible] adding no_log to some parameters (#4448) (#371)
Signed-off-by: Modular Magician <magic-modules@google.com>
2021-02-04 13:04:56 -08:00
The Magician
45445ae46b
Move customResponseHeaders to beta only (#4286) (#347)
Signed-off-by: Modular Magician <magic-modules@google.com>
2020-12-04 14:40:35 -08:00
The Magician
c5ddedf104
Add custom response headers for backend service (#4223) (#334)
Signed-off-by: Modular Magician <magic-modules@google.com>
2020-11-16 11:11:48 -08:00
The Magician
3af242d21d
fix doc formatting errors (#4118) (#310)
Co-authored-by: Riley Karson <rileykarson@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Riley Karson <rileykarson@google.com>
2020-10-16 13:41:31 -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
b6df15b40d
Backend service support for internet NEG backend (#3782) (#260)
* Add ability to set global network endpoint group as backend for backend service. Make health_checks optional

* PR fixes

* Add encoder to remove max_utilization when neg backend

* Check for global NEG in group to remove max_utilization

* Add another nil check

* Spacing

* Docs fix

Signed-off-by: Modular Magician <magic-modules@google.com>
2020-07-24 17:57:29 -07:00
The Magician
416bf30c1e
Promote region* compute services to GA (#3381) (#213)
Signed-off-by: Modular Magician <magic-modules@google.com>
2020-04-29 16:31:51 -04:00
The Magician
282f8e3b82
Add enum values generation to documentation (#3404) (#207)
* Add enum values generation to documentation, remove previous handwritten lists unless they add value

* Add possible enum values to inspec doc generation

* Add default, possible values to the schema description

* Format fixes

* Try spacing to see how md looks

* PR feedback

* Order of operations

* Bigger spacefor markdown

Signed-off-by: Modular Magician <magic-modules@google.com>
2020-04-24 13:45:23 -04: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
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
The Magician
1430a27759 Add L7 ILB fields to RegionBackendService (#38)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-11-05 13:51:03 -08: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
Ty Larrabee
91c805a865 Add beta fields to BackendService to support traffic director
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-18 23:17:52 +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
1c89350d77 Backport doc changes from facts->info change (#341)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:17 -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
adc0352c84 Fixing backend service tests and all related tests (#292)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:11 -07:00
The Magician
b13f722e00 Document compute_backend_service set types (#287)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:10 -07:00
The Magician
6cbcd4c21e Add max_connection/rate_per_endpoint to backend services (#280)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:10 -07:00
The Magician
929903177d Fix beta website docs (#273)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:09 -07:00
Sam Levenick
22bb018df4 Add support for INTERNAL_SELF_MANAGED backend service
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
9f2e658ec6 Add HTTP2 protocol to backend service (#242)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:02:57 -07:00
The Magician
4e2574414e Update BackendService docs to reflect being GLB only (#237)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:02:56 -07:00
The Magician
2eb8bf83f2 Allow BackendService backends.group to ref multiple resource types (#232)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-09-04 18:02:56 -07:00
The Magician
5041b1924b Cleanup BackendService after generation, add omitted fields. (#227)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-09-04 18:02:55 -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
795304780b Add fingerprint, securityPolicy to BackendService (#222)
+ increase validation

Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:02:55 -07:00
The Magician
83cfad1e1b Add backend bucket signed URL key (for CDN) support (#209)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:02:54 -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
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