example.tf - syntax fixes
@@ -1174,14 +1174,14 @@ resource "aws_iam_role" "example_2_allowing_all_aws_principals" {
EOF
}
-resource "google_compute_subnetwork" "subnet without logging" {
+resource "google_compute_subnetwork" "subnet-without-logging" {
name = "log-test-subnetwork"
ip_cidr_range = "10.2.0.0/16"
region = "us-central1"
network = google_compute_network.custom-test.id
}
-resource "google_compute_subnetwork" "subnet with logging" {
+resource "google_compute_subnetwork" "subnet-with-logging" {
name = "log-test-subnetwork"
ip_cidr_range = "10.2.0.0/16"
region = "us-central1"
@@ -1235,7 +1235,7 @@ resource "google_storage_bucket_iam_binding" "binding-with-public-member" {
bucket = google_storage_bucket.default.name
role = "roles/storage.admin"
members = [
- "allAuthenticatedUsers",
+ "allAuthenticatedUsers"
]
}
@@ -1247,4 +1247,4 @@ resource "google_storage_bucket" "bucket-with-uniform-access-enabled" {
bucket_policy_only = true
}
-}
+
