Commit Graph

29 Commits

Author SHA1 Message Date
Teodelas 0f502a8cfb
Fix modules to support new Apigee X environment types (#1841)
* Update main.tf

* Update variables.tf

* Update main.tf

Updated environment members to be alphabetical order

* fixed linting and terraform fmt

* removed venv

* removed venv directory

---------

Co-authored-by: Teo De Las Heras <teodlh@google.com>
2023-11-06 09:56:03 +01:00
apichick 022b9f5060 Added iam_bindings and iam_bindings_additive to apigee module 2023-10-27 18:22:07 +02:00
mwarm2 e28f7c3237
Fix Apigee add-ons configuration (#1798)
* Revert "Merge pull request #1694 from eddern/eddern/fix-apigee-addons-config"

This reverts commit ec7a7a9605, reversing
changes made to df5daab6cc.

* Flip for_each ternary: use true to enable an add-on

When a given add-on's variable is set to true, do instantiate the block.

---------

Co-authored-by: Julio Castillo <jccb@google.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2023-10-25 07:37:45 +00:00
Miren Esnaola 60906b66d8 Fixed problem with try in apigee module 2023-09-29 16:46:34 +02:00
Miren Esnaola 3d2285a5ab Fixed problem with try in apigee module 2023-09-29 16:33:21 +02:00
Ludovico Magnocavallo 9345901598
Merge branch 'master' into instance-attachment-bc 2023-09-20 10:22:48 +02:00
eddern 36d030f61b simplify values assertion 2023-09-19 19:28:22 +02:00
eddern 9a893114b9 flip return of conditional expression 2023-09-19 18:42:29 +02:00
John Inama 8469c86e63 reversing instance attachment names 2023-09-18 13:02:09 -04: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
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 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
Julio Castillo d50355b01a Only create nat IP when requested 2023-08-24 19:42:20 +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
Miren Esnaola 6a13742e3c Apigee addons 2023-08-09 08:12:06 +02:00
Daniel Strebel 0906ddb8df feat(apigee): add retention variable 2023-08-02 15:13:43 +02:00
Miren Esnaola a424635221 Refactored apigee module and adjusted the blueprints accordingly 2023-06-19 09:01:32 +02:00
Miren Esnaola 1a2745b632 In the apigee module now both the /22 and /28 peering IP ranges are passed at instance creation 2023-01-31 11:32:53 +01:00
fdhaussy 22c26e319f fix: remove unuseful ternary 2023-01-27 17:08:35 +01:00
fdhaussy bed7e05d09 add support for deployment_type and api_proxy_type in google_apigee_environment resource 2023-01-27 15:37:57 +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
Miren Esnaola 3501d20785 Apigee module and blueprint 2022-11-16 19:49:26 +01:00