Skip to content

Commit

Permalink
standardize on two spaces instead of tabs for generated IAM doc… (#5102)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and danawillow committed Dec 6, 2019
1 parent 88b6b99 commit 190859b
Show file tree
Hide file tree
Showing 28 changed files with 567 additions and 567 deletions.
38 changes: 19 additions & 19 deletions google/iam_binary_authorization_attestor_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ resource "google_container_analysis_note" "note" {
}
resource "google_binary_authorization_attestor_iam_member" "foo" {
project = "${google_binary_authorization_attestor.attestor.project}"
attestor = "${google_binary_authorization_attestor.attestor.name}"
role = "%{role}"
member = "user:[email protected]"
project = "${google_binary_authorization_attestor.attestor.project}"
attestor = "${google_binary_authorization_attestor.attestor.name}"
role = "%{role}"
member = "user:[email protected]"
}
`, context)
}
Expand Down Expand Up @@ -194,16 +194,16 @@ resource "google_container_analysis_note" "note" {
}
data "google_iam_policy" "foo" {
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
}
resource "google_binary_authorization_attestor_iam_policy" "foo" {
project = "${google_binary_authorization_attestor.attestor.project}"
attestor = "${google_binary_authorization_attestor.attestor.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
project = "${google_binary_authorization_attestor.attestor.project}"
attestor = "${google_binary_authorization_attestor.attestor.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
}
`, context)
}
Expand Down Expand Up @@ -247,10 +247,10 @@ resource "google_container_analysis_note" "note" {
}
resource "google_binary_authorization_attestor_iam_binding" "foo" {
project = "${google_binary_authorization_attestor.attestor.project}"
attestor = "${google_binary_authorization_attestor.attestor.name}"
role = "%{role}"
members = ["user:[email protected]"]
project = "${google_binary_authorization_attestor.attestor.project}"
attestor = "${google_binary_authorization_attestor.attestor.name}"
role = "%{role}"
members = ["user:[email protected]"]
}
`, context)
}
Expand Down Expand Up @@ -294,10 +294,10 @@ resource "google_container_analysis_note" "note" {
}
resource "google_binary_authorization_attestor_iam_binding" "foo" {
project = "${google_binary_authorization_attestor.attestor.project}"
attestor = "${google_binary_authorization_attestor.attestor.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
project = "${google_binary_authorization_attestor.attestor.project}"
attestor = "${google_binary_authorization_attestor.attestor.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
}
`, context)
}
46 changes: 23 additions & 23 deletions google/iam_cloud_functions_cloud_function_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ resource "google_cloudfunctions_function" "function" {
}
resource "google_cloudfunctions_function_iam_member" "foo" {
project = "${google_cloudfunctions_function.function.project}"
region = "${google_cloudfunctions_function.function.region}"
cloud_function = "${google_cloudfunctions_function.function.name}"
role = "%{role}"
member = "user:[email protected]"
project = "${google_cloudfunctions_function.function.project}"
region = "${google_cloudfunctions_function.function.region}"
cloud_function = "${google_cloudfunctions_function.function.name}"
role = "%{role}"
member = "user:[email protected]"
}
`, context)
}
Expand Down Expand Up @@ -172,17 +172,17 @@ resource "google_cloudfunctions_function" "function" {
}
data "google_iam_policy" "foo" {
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
}
resource "google_cloudfunctions_function_iam_policy" "foo" {
project = "${google_cloudfunctions_function.function.project}"
region = "${google_cloudfunctions_function.function.region}"
cloud_function = "${google_cloudfunctions_function.function.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
project = "${google_cloudfunctions_function.function.project}"
region = "${google_cloudfunctions_function.function.region}"
cloud_function = "${google_cloudfunctions_function.function.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
}
`, context)
}
Expand Down Expand Up @@ -213,11 +213,11 @@ resource "google_cloudfunctions_function" "function" {
}
resource "google_cloudfunctions_function_iam_binding" "foo" {
project = "${google_cloudfunctions_function.function.project}"
region = "${google_cloudfunctions_function.function.region}"
cloud_function = "${google_cloudfunctions_function.function.name}"
role = "%{role}"
members = ["user:[email protected]"]
project = "${google_cloudfunctions_function.function.project}"
region = "${google_cloudfunctions_function.function.region}"
cloud_function = "${google_cloudfunctions_function.function.name}"
role = "%{role}"
members = ["user:[email protected]"]
}
`, context)
}
Expand Down Expand Up @@ -248,11 +248,11 @@ resource "google_cloudfunctions_function" "function" {
}
resource "google_cloudfunctions_function_iam_binding" "foo" {
project = "${google_cloudfunctions_function.function.project}"
region = "${google_cloudfunctions_function.function.region}"
cloud_function = "${google_cloudfunctions_function.function.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
project = "${google_cloudfunctions_function.function.project}"
region = "${google_cloudfunctions_function.function.region}"
cloud_function = "${google_cloudfunctions_function.function.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
}
`, context)
}
46 changes: 23 additions & 23 deletions google/iam_cloud_run_service_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ resource "google_cloud_run_service" "default" {
}
resource "google_cloud_run_service_iam_member" "foo" {
location = "${google_cloud_run_service.default.location}"
project = "${google_cloud_run_service.default.project}"
service = "${google_cloud_run_service.default.name}"
role = "%{role}"
member = "user:[email protected]"
location = "${google_cloud_run_service.default.location}"
project = "${google_cloud_run_service.default.project}"
service = "${google_cloud_run_service.default.name}"
role = "%{role}"
member = "user:[email protected]"
}
`, context)
}
Expand All @@ -162,17 +162,17 @@ resource "google_cloud_run_service" "default" {
}
data "google_iam_policy" "foo" {
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
}
resource "google_cloud_run_service_iam_policy" "foo" {
location = "${google_cloud_run_service.default.location}"
project = "${google_cloud_run_service.default.project}"
service = "${google_cloud_run_service.default.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
location = "${google_cloud_run_service.default.location}"
project = "${google_cloud_run_service.default.project}"
service = "${google_cloud_run_service.default.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
}
`, context)
}
Expand All @@ -198,11 +198,11 @@ resource "google_cloud_run_service" "default" {
}
resource "google_cloud_run_service_iam_binding" "foo" {
location = "${google_cloud_run_service.default.location}"
project = "${google_cloud_run_service.default.project}"
service = "${google_cloud_run_service.default.name}"
role = "%{role}"
members = ["user:[email protected]"]
location = "${google_cloud_run_service.default.location}"
project = "${google_cloud_run_service.default.project}"
service = "${google_cloud_run_service.default.name}"
role = "%{role}"
members = ["user:[email protected]"]
}
`, context)
}
Expand All @@ -228,11 +228,11 @@ resource "google_cloud_run_service" "default" {
}
resource "google_cloud_run_service_iam_binding" "foo" {
location = "${google_cloud_run_service.default.location}"
project = "${google_cloud_run_service.default.project}"
service = "${google_cloud_run_service.default.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
location = "${google_cloud_run_service.default.location}"
project = "${google_cloud_run_service.default.project}"
service = "${google_cloud_run_service.default.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
}
`, context)
}
46 changes: 23 additions & 23 deletions google/iam_compute_instance_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ resource "google_compute_instance" "default" {
}
resource "google_compute_instance_iam_member" "foo" {
project = "${google_compute_instance.default.project}"
zone = "${google_compute_instance.default.zone}"
instance_name = "${google_compute_instance.default.name}"
role = "%{role}"
member = "user:[email protected]"
project = "${google_compute_instance.default.project}"
zone = "${google_compute_instance.default.zone}"
instance_name = "${google_compute_instance.default.name}"
role = "%{role}"
member = "user:[email protected]"
}
`, context)
}
Expand All @@ -155,17 +155,17 @@ resource "google_compute_instance" "default" {
}
data "google_iam_policy" "foo" {
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
}
resource "google_compute_instance_iam_policy" "foo" {
project = "${google_compute_instance.default.project}"
zone = "${google_compute_instance.default.zone}"
instance_name = "${google_compute_instance.default.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
project = "${google_compute_instance.default.project}"
zone = "${google_compute_instance.default.zone}"
instance_name = "${google_compute_instance.default.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
}
`, context)
}
Expand All @@ -189,11 +189,11 @@ resource "google_compute_instance" "default" {
}
resource "google_compute_instance_iam_binding" "foo" {
project = "${google_compute_instance.default.project}"
zone = "${google_compute_instance.default.zone}"
instance_name = "${google_compute_instance.default.name}"
role = "%{role}"
members = ["user:[email protected]"]
project = "${google_compute_instance.default.project}"
zone = "${google_compute_instance.default.zone}"
instance_name = "${google_compute_instance.default.name}"
role = "%{role}"
members = ["user:[email protected]"]
}
`, context)
}
Expand All @@ -217,11 +217,11 @@ resource "google_compute_instance" "default" {
}
resource "google_compute_instance_iam_binding" "foo" {
project = "${google_compute_instance.default.project}"
zone = "${google_compute_instance.default.zone}"
instance_name = "${google_compute_instance.default.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
project = "${google_compute_instance.default.project}"
zone = "${google_compute_instance.default.zone}"
instance_name = "${google_compute_instance.default.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
}
`, context)
}
46 changes: 23 additions & 23 deletions google/iam_compute_subnetwork_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ resource "google_compute_network" "custom-test" {
}
resource "google_compute_subnetwork_iam_member" "foo" {
project = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.project}"
region = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.region}"
subnetwork = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.name}"
role = "%{role}"
member = "user:[email protected]"
project = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.project}"
region = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.region}"
subnetwork = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.name}"
role = "%{role}"
member = "user:[email protected]"
}
`, context)
}
Expand All @@ -155,17 +155,17 @@ resource "google_compute_network" "custom-test" {
}
data "google_iam_policy" "foo" {
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
binding {
role = "%{role}"
members = ["user:[email protected]"]
}
}
resource "google_compute_subnetwork_iam_policy" "foo" {
project = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.project}"
region = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.region}"
subnetwork = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
project = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.project}"
region = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.region}"
subnetwork = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.name}"
policy_data = "${data.google_iam_policy.foo.policy_data}"
}
`, context)
}
Expand All @@ -189,11 +189,11 @@ resource "google_compute_network" "custom-test" {
}
resource "google_compute_subnetwork_iam_binding" "foo" {
project = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.project}"
region = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.region}"
subnetwork = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.name}"
role = "%{role}"
members = ["user:[email protected]"]
project = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.project}"
region = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.region}"
subnetwork = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.name}"
role = "%{role}"
members = ["user:[email protected]"]
}
`, context)
}
Expand All @@ -217,11 +217,11 @@ resource "google_compute_network" "custom-test" {
}
resource "google_compute_subnetwork_iam_binding" "foo" {
project = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.project}"
region = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.region}"
subnetwork = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
project = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.project}"
region = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.region}"
subnetwork = "${google_compute_subnetwork.network-with-private-secondary-ip-ranges.name}"
role = "%{role}"
members = ["user:[email protected]", "user:[email protected]"]
}
`, context)
}
Loading

0 comments on commit 190859b

Please sign in to comment.