Commit Graph

1527 Commits

Author SHA1 Message Date
John Inama b285deca96 Putting it back how it was and flipping the attachment name 2023-09-15 16:48:13 -04:00
Ludovico Magnocavallo bd7b9b4dd1
Merge branch 'master' into jccb/fix-subnet-iam-bindings 2023-09-15 14:31:28 +02:00
Julio Castillo 616c6fbc48 Fix subnet iam_bindings to use arbitrary keys 2023-09-15 14:30:27 +02:00
Oliver Frolovs 6eb862a775
GKE cluster modules: add optional kube state metrics (#1682)
* `gke-cluster-standard`: add optional kube state metrics
* `gke-cluster-autopilot`: add optional kube state metrics

* FAST: add kube state metrics support for GKE
* blueprints/gke: add kube state metrics support

* Bump up the provider version to `v4.82.0`
2023-09-15 12:18:45 +01:00
Julio Castillo f3be29cbc9 Fix tests 2023-09-15 00:27:55 +02:00
Julio Castillo f19ab4872f Embed subnet-level IAM in the variables controlling creation of subnets
This moves the top-level `iam`, `iam_bindings` and
`iam_bindings_additive` variables into subnet-level attributes. This
change also allows setting permissions to PSC or proxy-only subnets

As part of this change, the factory interface is more aligned with the
rest of the modules using a `factories_config` variable. In the future
we can add a cidrs template similar to the firewall policy module
2023-09-15 00:27:55 +02:00
Oliver Frolovs b3dc91b5cd
Upgrades to `monitoring_config` in `gke-cluster-*`, docs update, and cosmetics fixes to GKE cluster modules (#1680)
* gke-cluster-standard: upgrade `monitoring_config` to use object style. Add tests.
* gke-cluster-standard: update docs

* gke-cluster-autopilot: move gateway_api_config block (cosmetic change)
* gke-cluster-autopilot: update docs and fix typos

* Update blueprints due to `monitoring_config` changes in `gke-cluster-standard`.
* Update FAST due to `monitoring_config` changes in `gke-cluster-standard`.
* Update docs for affected blueprints and FAST stages
2023-09-14 23:25:57 +01:00
Julio Castillo 1caf394661 Add example reserving blocks with cluster creation 2023-09-14 13:08:43 +02:00
Julio Castillo 433a0f0541 Update readmes 2023-09-14 12:57:41 +02:00
Julio Castillo 94e99fe339 Fix formatting 2023-09-14 12:56:17 +02:00
Julio Castillo 7516a778ed Remove useless try() 2023-09-14 12:52:43 +02:00
Julio Castillo c1be435b09 Fix range names definition of GKE clusters
Fixes #1677
2023-09-14 12:51:43 +02:00
Oliver Frolovs 05c0195a06
GKE Autopilot module: add network tags (#1675)
* gke-cluster-autopilot: add support for network tags

* gke-cluster-autopilot: add validation for network tags

* gke-cluster-autopilot: expand README and fix some typos

* gke-cluster-autopilot: fix Cloud DNS section in README

Removed a reference to Standard clusters and updated the section to include a warning because the new versions of Autopilot clusters can only use Cloud DNS and it is pre-configured by default so the example in the README does not apply to them.

* gke-cluster-autopilot: cosmetic fixes in README

* gke-cluster-autopilot: rollback validation on network tags var

* gke-cluster-autopilot: rollback docs string update for network tags var

* gke-cluster-autopilot: rollback some updates to README

* gke-cluster-autopilot: remove dead code

* gke-cluster-autopilot: add a tftest for network tags

* gke-cluster-autopilot: fix a tftest
2023-09-14 09:34:51 +00:00
Dave Gulli 819b4aab5c fixed up nit from PR 1666 2023-09-14 13:15:00 +10:00
Julio Castillo 66416ac5f1
Merge branch 'master' into luigi-bitonti/pubsub-gcs-feature 2023-09-13 21:23:10 +02:00
Luigi Bitonti 4f5852d3a7 Ran fmt 2023-09-13 19:53:05 +02:00
Luigi Bitonti 6d4060f0aa Fixed typo 2023-09-13 15:59:04 +02:00
apichick 008abe4ddc
Merge branch 'master' into apigee-module-fix 2023-09-13 15:25:51 +02:00
luigi-bitonti f5b657df54
Merge branch 'master' into luigi-bitonti/pubsub-gcs-feature 2023-09-13 15:18:45 +02:00
Luigi Bitonti f2fc67d72d Added possibility to use gcs push endpoint on pubsub subscription 2023-09-13 15:13:13 +02:00
Miren Esnaola fdb133f1de Fixed, added back environments to each instance, that way we can also create instances for already existing environments 2023-09-13 14:43:37 +02:00
Dave Gulli ced8e498f8 terraform fmt 2023-09-13 16:58:50 +10:00
Dave Gulli 09e6e8f4d2 created passing test, fixed logic 2023-09-13 16:49:14 +10:00
Dave Gulli 83221c16a5 Merge branch 'global_managed_proxy_support' of https://github.com/dgulli/cloud-foundation-fabric into global_managed_proxy_support 2023-09-13 14:11:11 +10:00
Dave Gulli 3d39a3ecf1 fixed up logic. 2023-09-13 14:11:09 +10:00
Ludovico Magnocavallo f5b9f08183
Merge branch 'master' into global_managed_proxy_support 2023-09-13 05:45:52 +02:00
apichick e9801979a4
Merge branch 'master' into net-vlan-attachment-fix 2023-09-12 14:58:16 +02:00
Arpit Sharma b512650ad2
fix(compute-mig): add correct type optionality for metrics in autosca… (#1668)
* fix(compute-mig): add correct type optionality for metrics in autoscaler_config

* feat(compute-mig): regenerate readme via tfdoc

* fix(compute-mig): linting

* fix(compute-mig): attempt #2 at fixing linting error

* fix(compute-mig): tfdoc --no-files
2023-09-12 13:58:09 +02:00
Miren Esnaola 0019328bb4 Fix for partner interconnect, the router interface and the BGP peers are automatically created 2023-09-12 13:02:28 +02:00
Dave Gulli 3479c40735 fixing tests 2023-09-12 15:53:28 +10:00
Dave Gulli 9498e740dc Merge branch 'global_managed_proxy_support' of https://github.com/dgulli/cloud-foundation-fabric into global_managed_proxy_support 2023-09-12 15:01:01 +10:00
Dave Gulli 5f2bc7fa92 refactored to recommended method 2023-09-12 14:58:49 +10:00
David Gulli 1092f181bd
Merge branch 'master' into global_managed_proxy_support 2023-09-12 12:08:56 +10:00
Arpit Sharma f225b60b0e
fix(compute-mig): add mode property to compute_region_autoscaler (#1667)
* fix(compute-mig): add mode property to compute_region_autoscaler

* fix(compute-mig): add mode property to zonal mig
2023-09-11 13:25:31 +02:00
Dave Gulli db5030e93f adding test 2023-09-11 21:08:55 +10:00
Dave Gulli 3208bcd9d5 matched the period 2023-09-11 20:50:18 +10:00
Dave Gulli f76d8fcb52 fixed period 2023-09-11 20:48:26 +10:00
Dave Gulli dac76a900b fixed references 2023-09-11 20:47:05 +10:00
Dave Gulli adff09aa24 linting error 2023-09-11 20:45:32 +10:00
Dave Gulli c1b52b300c trying to fix linting 2023-09-11 20:41:25 +10:00
Dave Gulli 7e0827db53 re-ordered variables per lint error 2023-09-11 20:33:08 +10:00
Dave Gulli e1aff29d5c linting again 2023-09-11 20:30:11 +10:00
Dave Gulli 3cfabb32c5 fixed linter 2023-09-11 20:29:08 +10:00
Dave Gulli 3c0391db5c slight change to readme thanks to tfdoc 2023-09-11 20:24:06 +10:00
Dave Gulli 8c264da200 small commits to add variables, append tests 2023-09-11 20:14:17 +10:00
Dave Gulli a18071ed36 updated for global managed proxy 2023-09-11 17:42:34 +10:00
Dave Gulli b49984e1b9 added support for global proxy only subnets 2023-09-11 16:56:09 +10:00
Ludovico Magnocavallo ec3b705f53
Change type of `iam_bindings` variable to allow multiple conditional bindings (#1658)
* modules

* fast

* dns readme
2023-09-08 08:56:31 +02:00
Julio Castillo a6230d2b11
Merge branch 'master' into jccb/apigee-fixes 2023-09-07 16:34:45 +02:00
simonebruzzechesse 77c1e69666
New phpIPAM serverless third parties solution in blueprints (#1642)
* Added new phpIPAM serverless third parties solution in blueprints
* added jit to iap.googleapis.com service in project module
* updated tests
2023-09-07 15:30:22 +02:00
John Inama 3e069ea16a changed from merge to length-based if statement 2023-09-07 08:26:40 -04:00
g-greatdevaks b98537689c add tests and update readme for apigee psc peering 2023-09-07 16:55:16 +05:30
Julio Castillo 34b37a0dc2 Remove unneeded try 2023-09-07 12:09:42 +02:00
Julio Castillo 46f4d22c87 Examples and tests 2023-09-07 11:31:40 +02:00
Julio Castillo d7dcec3389 Fix error message 2023-09-07 10:52:30 +02:00
Julio Castillo 0822531b78 Allow creating organizations/instances without VPC Peering 2023-09-07 10:51:43 +02:00
Julio Castillo 6f5a6aa06d Allow user to override instance names 2023-09-07 09:05:49 +02:00
John Inama 3941129a68 still testing 2023-09-06 17:12:31 -04:00
John Inama 822dfc0110 replaced coalesce with merge 2023-09-06 17:08:39 -04:00
John Inama 35ff529b9c swapping coalesce variables for test 2023-09-06 17:02:04 -04:00
John Inama b4979fd451 Added coalesce to local variable and to the attachment resource 2023-09-06 16:59:30 -04:00
John Inama e64cd90d4c just trying the old way first 2023-09-06 15:29:25 -04:00
John Inama c1c99a0a79 back to coalesce 2023-09-06 14:54:30 -04:00
John Inama c32e2763f0 Changed instance loop to a coalescelist function 2023-09-06 14:30:43 -04:00
John Inama 7ceaf9b513 Added environments back to instances variable 2023-09-06 13:58:41 -04:00
John Inama 401c3478ea Fixed copy/paste error from earlier commit 2023-09-06 13:48:38 -04:00
John Inama 46be7c0c1d Added original attachment loop block as local for backwards compatibility 2023-09-06 13:25:58 -04:00
Julio Castillo a6640e5959 Make net-vpc variables nullable 2023-09-06 09:57:34 +02:00
John Inama 7acb4966b2 Added optional name value to instances variable and added it to the instance resource 2023-09-05 17:23:45 -04:00
Julio Castillo 3d4cc7164a Bump provider version to 4.80.0 2023-09-05 09:48:15 +02:00
Oliver Frolovs 9f23d504ec
gke-cluster-autopilot: add monitoring configuration (#1646)
* gke-cluster-autopilot: add monitoring configuration block (monitoring_config)
2023-09-04 16:43:59 +01:00
Oliver Frolovs 42ebbccad9
gke-cluster-autopilot: validation for release_channel (#1645) 2023-09-03 00:37:49 +00:00
Oliver Frolovs 988fd2ee05
gke-cluster-standard: change logging configuration (#1638)
* Update logging configuration of this module to use object interface in harmony with `gke-cluster-autopilot` module.
* Update blueprints that use this module.
* Add "WORKLOADS" log source to logging configuration of the blueprints where the README files say so.
* Update FAST stage 3 because it uses this module.
2023-08-31 12:49:15 +01:00
Oliver Frolovs 80e85ad343
gke-cluster-autopilot: add logging configuration (#1625)
Although one cannot disable Cloud Logging and Cloud Monitoring integration in GKE Autopilot clusters, one has some flexibility over which control plane components' logs should be ingested. This commit adds a new variable and a block to the cluster resource to facilitate that.

* gke-cluster-autopilot: update logging configuration and add an example to module README
2023-08-31 12:06:57 +01:00
Zachary b784e85c60 Regenerated cloud run README tables with tfdoc.py
Updated documentation with tfdoc.py
2023-08-30 12:16:21 +01:00
Zachary a4dfd7f201 fixed grcp to grpc typo in cloud run module 2023-08-30 11:04:10 +01:00
LudovicEmo c558d9b753
Vpc sc allow null for identity type (#1632)
* vpc-sc : allow null for identity_type

* cloudsql-instance : fmt

* vpc-sc: tfdoc

* modules/vpc-sc: update the test result for the identity_type field

* cloudsql-instance: remove empty line
2023-08-29 04:28:57 +02:00
Luca Prete 9d0fd744a8
Do not set default ASN number (#1633) 2023-08-28 15:06:31 +00:00
Julio Castillo 9eb768357e Switch to count 2023-08-28 16:00:48 +02:00
Julio Castillo 04721a35ef Allow single hfw policy association in folder and organization modules 2023-08-28 16:00:48 +02:00
Luca Prete ce96ac31e7
[Fix] Add explicit dependency between CR peers and NCC RA spoke creation (#1630) 2023-08-28 15:50:46 +02:00
Carlo Maria Valla befbd190a3
Cloud SQL activation policy selectable (#1613)
* Update main.tf

added activation policy

* Update variables.tf

added activation_policy variable defaulted as ALWAYS for non regression

* corrections requested by @juliocc

* Regeneration of README.md on cloudsql-instance mod

* terraform fmt changes

* bug correctionand activation_policy on replicas

* activation_policy description change and README.md

* Bug correction
2023-08-25 12:12:08 +02:00
Julio Castillo 44c1cec041 Fix tests 2023-08-24 20:09:23 +02:00
Julio Castillo 25aa29e463 Merge remote-tracking branch 'origin/master' into billabongrob/add-nat 2023-08-24 19:52:06 +02:00
Julio Castillo 9188603365 Update key name 2023-08-24 19:46:39 +02:00
Julio Castillo d50355b01a Only create nat IP when requested 2023-08-24 19:42:20 +02:00
Julio Castillo 67c2597bcc Fix output order 2023-08-24 19:38:44 +02:00
Julio Castillo add1ac2dcc Update README 2023-08-24 19:36:42 +02:00
Julio Castillo 57d5e05d69
Merge branch 'master' into richard/nfw-policy-remove-match-var-validation 2023-08-24 19:29:13 +02:00
Julio Castillo bff5e46460 Fix apigee instance nat 2023-08-24 19:27:34 +02:00
Julio Castillo 3fdf0dfe99 Make apigee variables non-nullable 2023-08-24 18:15:15 +02:00
Rob Heckel 6c33d34c28 Adding support for NAT in Apigee 2023-08-24 09:36:15 -05:00
Richard Olson 10aeb6615a readme update 2023-08-24 20:01:47 +10:00
Julio Castillo d36c53bbae
Update README.md 2023-08-24 11:29:03 +02:00
Richard Olson 35aae372b2 remove existing validation 2023-08-24 19:06:43 +10:00
Richard Olson 2f4b141d7a switch default behaviour for ingress 2023-08-23 21:17:47 +10:00
Richard Olson def012d32e customisable rule action 2023-08-23 21:08:23 +10:00
Richard Olson 18af929331 add name to factory rules 2023-08-23 20:58:07 +10:00
Erin Horning 4885b8a7f9 objects non-nullable 2023-08-22 09:40:50 -06:00
Erin Horning 9a0f9f607f objects output 2023-08-22 09:35:39 -06:00