Commit Graph

919 Commits

Author SHA1 Message Date
Wiktor Niesiobędzki 7e18f6d7b5 Fixes for GKE
* Fix non-empty plan when spot instances are used
* Add cluster_id and recommend its use, as this prevents inconsitencies
  when only cluster is recreated (with no changes on node pool)
2022-12-21 23:14:52 +01:00
Ludovico Magnocavallo b438e0c37a
Allow using dynamically generated address in LB modules NEGs (#1061)
* test

* fix #1055 for net-ilb-l7

* fix glb module
2022-12-21 17:04:56 +01:00
Ludo 0d7243979b
revert last commit 2022-12-21 13:12:15 +01:00
Ludo 7c95b7ce43
fix #1055 for net-ilb-l7 2022-12-21 13:07:36 +01:00
Ludovico Magnocavallo 4d0c3b40f2
Merge branch 'master' into jccb/fix-net-vpc-factory 2022-12-20 08:27:03 +01:00
Ankur Saxena b487b2c938
Feature - CloudSQL pre-allocation private IP range and GKE Cluster ignore_change lifecycle hook. (#1056)
* Update to include allocate_ip_range

* Updates to GKE Cluster module

* Add boot_disk_kms_key to ignore changes

* Update ignore lifecycle block

* Update docs

* Remove default_pool_boot_disk

* Refactor as per suggestions in PR

* Update readme

* Update variable sort

* Changes to address review comments

Co-authored-by: Ankur Saxena <ankur.saxena@nwmworld.com>
2022-12-20 07:08:00 +00:00
Julio Castillo b8ddf4c837 Read ranges from correct fields in firewall factory 2022-12-20 03:57:42 +01:00
Julio Castillo b031d7add5 Fix tests 2022-12-18 20:37:16 +01:00
Julio Castillo 4f7cb39a06 Simplify readme discovery 2022-12-18 14:00:20 +01:00
Julio Castillo 126227502e Fix tests paths for examples 2022-12-18 14:00:20 +01:00
Julio Castillo 4b77e484b1 Migrate project module to new tests 2022-12-18 14:00:19 +01:00
Julio Castillo e700a27079 Enforce terraform fmt in examples 2022-12-18 14:00:19 +01:00
Julio Castillo 5755f6e7cf Fix net-vpc factory ranges 2022-12-18 14:00:19 +01:00
Julio Castillo 513fdfe91a Make directive for supporting files in examples more explicit 2022-12-18 14:00:19 +01:00
Julio Castillo b5ca8932dc Migrate organization to example-based tests 2022-12-18 14:00:19 +01:00
Simone Ruffilli 3e5c0b5ca7
Simple NVA - Fixes race condition
Prevents a race condition where the Google agent creates the local route for the LB VIP only after this script has been run
2022-12-15 11:02:24 +01:00
Prabha Arya 031b9f3476
Add ssl certs to cloudsql instance (#1049)
* add ssl certs to cloudsql instance

* rename variable

* fix typo

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-12-12 17:14:44 +01:00
Ludo 7d61c697c3 remove stale folder 2022-12-12 16:37:20 +01:00
Ludo f29f1a562a update changelog 2022-12-11 09:41:56 +01:00
Ludovico Magnocavallo d2015b0bc3
Assorted module fixes (#1045)
* net-ilb-l7 use both neg types in backends

* run example tests on cloud-config-container modules

* streamline nginx-tls cos module

* add tests for cos modules

* tfdoc

* onprem needs fixing, links

* disable test

* test
2022-12-10 15:40:15 +01:00
Ludovico Magnocavallo 2ff14b29fd
Merge branch 'master' into patch-1 2022-12-08 18:13:19 +01:00
Chema Polo 9786dc4f39
added reverse lookup feature to module dns #1042 (#1043)
* added reverse lookup feature to module dns

* corrected readme example passed tfdoc and tests

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-12-08 18:13:05 +01:00
Julio Castillo 59687de2cb
Merge branch 'master' into patch-1 2022-12-08 18:08:20 +01:00
Ayman Farhat 06dc4ea331
Update README.md (#1014)
Simple type fix. rags -> tags

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2022-12-08 16:48:26 +00:00
Ludovico Magnocavallo 2fae2215b2
Merge branch 'master' into patch-1 2022-12-08 17:36:24 +01:00
Ludovico Magnocavallo 46f694be08
Refactor net-glb module for Terraform 1.3 (#1044)
* wip

* urlmaps

* wip

* tested

* fix managed certificate names

* simple HTTP and HTTPS examples

* gce and hybrid neg examples

* internet NEG example

* serverless NEG and backend bucket examples

* certificate example

* fix example tests

* remove stale test module

* module test

* adfs blueprint

* add support for non-classic GLB and PSC NEGs

* apigee blueprint

* glb and cloud armor blueprint

* deprecate non-working nginx reverse cluster

* api gateway blueprint

* tfdoc

* fix top-level READMEs

* switch to new tests

* only/at most
2022-12-08 17:35:44 +01:00
Victor Cavalcante f19d46841d
Fix var.name in schema resource 2022-12-07 13:19:02 -03:00
Ludovico Magnocavallo 67fca1036c
Fix status ingress/egress policies in vpc-sc module (#1036)
* fix status ingress/egress policies

* fix default status/spec value
2022-12-05 09:00:00 +01:00
Sebastian Kunze f97239bd97
strongSwan: switch base image to debian-slim (#1033) 2022-12-02 13:11:02 +01:00
Ludo 0ab19122d1 remove spurious files 2022-12-01 23:56:31 +01:00
Ludo 2dc66b0493 update changelog 2022-12-01 23:55:52 +01:00
Anmol Krishan Sachdeva a40cf4fc65
Merge branch 'master' into apigee-payg-env-node-conf-lifecycle 2022-12-01 15:53:06 +05:30
Ludovico Magnocavallo 89787a42f4
fix default_rules_config description (#1031) 2022-12-01 10:04:13 +01:00
Julio Castillo 70b93164f0 Update READMEs 2022-11-30 16:02:26 +01:00
Julio Castillo fa63e9d5d0 Remove optional stuff 2022-11-30 16:00:53 +01:00
Julio Castillo fcb697c935 Bring back vpn_gateway_create var in net-vpn-ha 2022-11-30 15:22:42 +01:00
Julio Castillo e976d71428 Update rest of vpn modules to tf1.3 2022-11-30 15:19:49 +01:00
Julio Castillo ef4a4b02af Fix linting 2022-11-30 11:36:58 +01:00
Julio Castillo 9aa1c49adf Revert locals 2022-11-30 11:00:45 +01:00
Julio Castillo efa9d928e1 Fix vpn_gateway local 2022-11-30 10:58:55 +01:00
Julio Castillo 798d3a4136 Update VPN-HA module to tf1.3 (wip) 2022-11-30 10:52:24 +01:00
g-greatdevaks e8a6867fa7 add lifecycle ignore_changes for apigee payg env
Added lifecycle `ignore_changes` rule for
Apigee PAYG Environment Node Config's
`current_aggregate_node_count`.

Changes committed:
- modified:   `modules/apigee/main.tf`
2022-11-30 11:05:15 +05:30
g-greatdevaks b38c05e3d7 Fix Apigee PAYG Node Config Dynamic Block
Fixed attribute reference issues for the
`node_config` dynamic block.

Changes committed:
- modified:   `modules/apigee/main.tf`
2022-11-29 21:00:14 +05:30
g-greatdevaks 3037a4f519 FIX APIGEE PAYG ENVIRONMENT NODE CONFIG
Fixed the Node Configuration for Apigee PAYG
specific Environments.

Removed current_aggregate_node_count as it
is a read-only field and cannot be taken
as an input for the Apigee Environment Terraform
resource.

Changes committed:
modified:   blueprints/cloud-operations/apigee/README.md
modified:   blueprints/cloud-operations/apigee/variables.tf
modified:   modules/apigee/README.md
modified:   modules/apigee/main.tf
modified:   modules/apigee/variables.tf
modified:   tests/blueprints/cloud_operations/apigee/fixture/variables.tf
modified:   tests/modules/apigee/fixture/variables.tf
2022-11-29 17:02:24 +05:30
Miren Esnaola 8d827b692c Added endpoint attachments to Apigee module 2022-11-28 17:27:00 +01:00
Daniel Strebel 158df4c873 fix(apigee): Apigee instance doc examples 2022-11-28 09:55:51 +01:00
Joe Heaton.dev 9fa381f5ed
Fix memory typo (#1016) 2022-11-27 18:29:25 +01:00
Ludovico Magnocavallo f3788fcd27
fix tag outputs (#1012) 2022-11-25 13:06:31 +00:00
Julio Castillo 612d7283e8 Enforce nonempty descriptions ending in a colon 2022-11-24 18:56:01 +01:00
Israel Herraiz 5d38e312c8 Set 1 num_nodes as default value, ignore num_nodes if autoscaling is set 2022-11-24 16:45:13 +01:00