Fix variable indents.

Tabs vs spaces is the worst. I really need a way to run terraform fmt on
these inline configs.
This commit is contained in:
Paddy 2017-03-13 23:23:32 -07:00
parent 6ca92fbbc1
commit 47e5547ce7
1 changed files with 13 additions and 13 deletions

View File

@ -633,8 +633,8 @@ func testAccGoogleProjectAssociatePolicyBasic(pid, name, org string) string {
return fmt.Sprintf(` return fmt.Sprintf(`
resource "google_project" "acceptance" { resource "google_project" "acceptance" {
project_id = "%s" project_id = "%s"
name = "%s" name = "%s"
org_id = "%s" org_id = "%s"
} }
resource "google_project_iam_policy" "acceptance" { resource "google_project_iam_policy" "acceptance" {
project = "${google_project.acceptance.id}" project = "${google_project.acceptance.id}"
@ -662,8 +662,8 @@ func testAccGoogleProject_create(pid, name, org string) string {
return fmt.Sprintf(` return fmt.Sprintf(`
resource "google_project" "acceptance" { resource "google_project" "acceptance" {
project_id = "%s" project_id = "%s"
name = "%s" name = "%s"
org_id = "%s" org_id = "%s"
}`, pid, name, org) }`, pid, name, org)
} }
@ -671,9 +671,9 @@ func testAccGoogleProject_createBilling(pid, name, org, billing string) string {
return fmt.Sprintf(` return fmt.Sprintf(`
resource "google_project" "acceptance" { resource "google_project" "acceptance" {
project_id = "%s" project_id = "%s"
name = "%s" name = "%s"
org_id = "%s" org_id = "%s"
billing_account = "%s" billing_account = "%s"
}`, pid, name, org, billing) }`, pid, name, org, billing)
} }
@ -692,16 +692,16 @@ resource "google_project_iam_policy" "acceptance" {
data "google_iam_policy" "expanded" { data "google_iam_policy" "expanded" {
binding { binding {
role = "roles/viewer" role = "roles/viewer"
members = [ members = [
"user:paddy@carvers.co", "user:paddy@carvers.co",
] ]
} }
binding { binding {
role = "roles/viewer" role = "roles/viewer"
members = [ members = [
"user:paddy@hashicorp.com", "user:paddy@hashicorp.com",
] ]
} }
}`, pid, name, org) }`, pid, name, org)
} }