Update CI processes (#296)

- Upgrade to latest terraform version (1.0.4)
- Remove tflint from linting pipeline (was not doing anything)
- Add terraform fmt check to linting pipeline
- Pass all code through terraform fmt
This commit is contained in:
Julio Castillo
2021-08-12 17:30:53 +02:00
committed by GitHub
parent 00143189eb
commit cb7c65135e
35 changed files with 128 additions and 112 deletions

View File

@@ -15,10 +15,10 @@
*/
module "test" {
source = "../../../../modules/apigee-organization"
project_id = "my-project"
analytics_region = var.analytics_region
runtime_type = "CLOUD"
source = "../../../../modules/apigee-organization"
project_id = "my-project"
analytics_region = var.analytics_region
runtime_type = "CLOUD"
authorized_network = var.network
apigee_environments = [
"eval1",
@@ -30,7 +30,7 @@ module "test" {
"eval1",
"eval2"
]
hostnames = [
hostnames = [
"eval.api.example.com"
]
}

View File

@@ -15,12 +15,12 @@
*/
module "apigee-x-instance" {
source = "../../../../modules/apigee-x-instance"
name = var.name
region = var.region
cidr_mask = 22
source = "../../../../modules/apigee-x-instance"
name = var.name
region = var.region
cidr_mask = 22
apigee_org_id = "my-project"
apigee_org_id = "my-project"
apigee_environments = [
"eval1",
"eval2"

View File

@@ -81,9 +81,9 @@ variable "router_config" {
})
default = {
description = null
asn = 64514
advertise_config = null
description = null
asn = 64514
advertise_config = null
}
}