jamesmao-xyz
e1ebfeecad
Fix the tf error: Inconsistent conditional result types
...
The conditional statement, with tomap({}) will cause the following error under terraform 1.4.5
Error: Inconsistent conditional result types
│
│ on ../../../modules/net-vpc/subnets.tf line 20, in locals:
│ 20: _factory_data = var.data_folder == null ? tomap({}) : {
│ 21: for f in fileset(var.data_folder, "**/*.yaml") :
│ 22: trimsuffix(basename(f), ".yaml") => yamldecode(file("${var.data_folder}/${f}"))
│ 23: }
│ ├────────────────
│ │ var.data_folder is "data/subnets/common"
│
│ The false result value has the wrong type: element types must all match for conversion to map.
2023-04-18 19:54:37 +10:00
lcaggio
306b38295e
Add CMEK support
2023-04-17 23:32:13 +02:00
Julio Castillo
e8ff5080b9
Fix linting
2023-04-17 09:17:54 +02:00
Julio Castillo
4770cb06fd
Migrate cloudsql-instance examples
2023-04-17 09:17:54 +02:00
Julio Castillo
461f7780c2
Migrate bigtable-instance tests
2023-04-17 09:17:54 +02:00
Julio Castillo
5f82938739
Migrate cloud-identity-group tests
2023-04-17 09:17:54 +02:00
Julio Castillo
771dd02b18
Migrate logging-bucket tests
2023-04-17 09:17:54 +02:00
Julio Castillo
0150e97e51
Migrate endpoints tests
2023-04-17 09:17:54 +02:00
Julio Castillo
01b9921f5c
Migrate PubSub tests
2023-04-17 09:17:54 +02:00
Julio Castillo
1927b138d6
Migrate secret-manager tests
2023-04-17 09:17:54 +02:00
Julio Castillo
a2bffc7302
Migrate service-directory tests
2023-04-17 09:17:54 +02:00
Julio Castillo
ed49f3db39
Migrate source repository tests
2023-04-17 09:17:54 +02:00
Julio Castillo
f5e1717319
Migrate VPC-SC tests to examples
2023-04-17 09:17:54 +02:00
Julio Castillo
2d4bd5a244
Remove net-interconnect-attachment-direct
2023-04-14 11:01:54 +02:00
Julio Castillo
eca0a9583e
Add inventories to net-vpc-firewall tests
2023-04-12 14:04:58 +02:00
ajlopezn
063c5061c8
lowercase text
2023-04-12 08:25:33 +00:00
ajlopezn
df789db9bd
updated spaces
2023-04-11 21:59:36 +00:00
Antonio Lopez
b4156eff41
Merge branch 'GoogleCloudPlatform:master' into ajln-firewall
2023-04-11 22:58:22 +02:00
Fawzi
3673dc2774
Merge branch 'master' into fawzihmouda/firewall-enforcement-order
2023-04-11 23:44:56 +10:00
Fawzi
ebf93a66ad
add new test to README
2023-04-11 23:38:16 +10:00
Fawzi
4722efea40
bump provider versions
2023-04-11 22:18:31 +10:00
Fawzi
3c4254fc1f
update firewall_policy_enforcement_order variable
2023-04-11 22:08:41 +10:00
ajlopezn
6db1a5f5d3
updated variables doc
2023-04-11 11:39:47 +00:00
ajlopezn
d150f03b41
included link to the tf resource bug in a comment
2023-04-11 11:30:12 +00:00
ajlopezn
4e426a990a
correct naming in source destination egress fw rule
2023-04-11 10:48:56 +00:00
ajlopezn
6f1e531af0
added example for source&destination ranges usage in fw rules
2023-04-11 10:45:45 +00:00
ajlopezn
b809b315f6
added example for source&destination ranges usage in fw rules
2023-04-11 10:43:32 +00:00
Antonio Lopez
660da5b585
Merge branch 'GoogleCloudPlatform:master' into ajln-firewall
2023-04-11 12:24:06 +02:00
ajlopezn
4ccf9f9361
included an empty list as default in the ingress_rules.destination_ranges variable
2023-04-11 10:22:08 +00:00
Mikhail Filipchuk
33e8b42842
Use labels var in cloud-run module ( #1310 )
...
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com >
2023-04-11 03:06:13 +00:00
ajlopezn
adb88d8a87
allow destination_range variable in ingress rules and source_range in egress rules
2023-04-10 14:00:55 +00:00
ajlopezn
18f1e8ebb1
added source and destination ranges to both ingress and egress fw rules
2023-04-10 10:47:51 +00:00
Fawzi
db3c48736c
add firewall enforcement variable to VPC
2023-04-10 01:28:12 +10:00
Ludovico Magnocavallo
865ef463bb
Support new fields in bigquery module, bump provider versions, unpin local provider ( #1306 )
...
* add support for new attributes to bigquery module
* bump provider versions
2023-04-05 14:22:52 +00:00
Luca Prete
70aefc2ddb
Add ability to run vtysh from simple-nva vm directly when frr is active ( #1301 )
...
Co-authored-by: Luca Prete <lucaprete@google.com >
2023-04-03 21:37:02 +02:00
Luca Prete
07f60fb0b9
Fix vtysh ( #1300 )
...
Co-authored-by: Luca Prete <lucaprete@google.com >
2023-04-03 14:37:46 +00:00
Ludovico Magnocavallo
bc2d9372aa
Fix urlmap in ILB L7 module ( #1299 )
...
* port tests to new format
* add test to catch error and fix urlmap
* boilerplate
* boilerplate
2023-04-03 15:47:37 +02:00
Luca Prete
bf14d2da23
Add sample vtysh file to remove warnings ( #1298 )
...
Co-authored-by: Luca Prete <lucaprete@google.com >
2023-04-03 15:10:46 +02:00
Ludovico Magnocavallo
92b71a5098
Refactor cloud run module to use optionals and support all features ( #1293 )
...
* refactor cloud run resource and variables
* vpc connector variables and resource
* refactor env variable, combine and fix env examples
* fix volume example
* fix traffic split example
* fix eventarc/pubsub example
* fix eventarc/audit log example
* fix SA examples, fix examples formatting
* refactor eventarc variable
* tfdoc
* add IAM to example
* add examples for revision annotations and serverless connector
* fix new examples
* remove legacy module tests
* blueprint tests
* Add tests to cloud-run module
---------
Co-authored-by: Julio Castillo <jccb@google.com >
2023-04-01 14:06:29 +02:00
Valerio Ponza
c5db50d1d7
fixing tests and refactoring default
2023-03-30 12:47:39 +02:00
Valerio Ponza
6204787226
fixing tests and refactoring default
2023-03-30 12:47:39 +02:00
Valerio Ponza
0a20bc4f2d
fixing tests and refactoring default
2023-03-30 12:47:39 +02:00
Valerio Ponza
1fb7e114fd
fixing tests and refactoring default
2023-03-30 12:47:39 +02:00
Valerio Ponza
596acb63e4
removing deprecated field from gke-hub
2023-03-30 12:47:39 +02:00
Valerio Ponza
44d2e9e50e
removing deprecated field from gke-hub
2023-03-30 12:47:39 +02:00
Valerio Ponza
64a9952656
add Backup for GKE support
2023-03-30 12:47:39 +02:00
Julio Castillo
7135c9015f
Add boilerplate
2023-03-30 09:36:14 +03:00
Julio Castillo
b503bde544
Load all service agents identities from yaml
...
Source: https://cloud.google.com/iam/docs/service-agents
2023-03-30 09:36:14 +03:00
Wiktor Niesiobędzki
c76e95e7e8
Add Cloud Batch service identity ( #1294 )
2023-03-30 08:05:12 +02:00
Julio Castillo
d64b5779e4
Merge branch 'master' into dataplex
2023-03-27 21:44:24 +02:00