-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove references to non-Snyk domains in acc test fixtures
- Loading branch information
1 parent
01b24be
commit 7e92a79
Showing
3 changed files
with
60 additions
and
60 deletions.
There are no files selected for viewing
18 changes: 9 additions & 9 deletions
18
pkg/resource/google/testdata/acc/google_project_iam_member/terraform.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
provider "google" {} | ||
|
||
terraform { | ||
required_version = "~> 0.15.0" | ||
required_providers { | ||
google = { | ||
version = "3.78.0" | ||
} | ||
required_version = "~> 0.15.0" | ||
required_providers { | ||
google = { | ||
version = "3.78.0" | ||
} | ||
} | ||
} | ||
|
||
resource "google_project_iam_member" "elie1" { | ||
role = "roles/editor" | ||
member = "user:[email protected]" | ||
role = "roles/editor" | ||
member = "user:[email protected]" | ||
} | ||
|
||
resource "google_project_iam_member" "will1" { | ||
role = "roles/viewer" | ||
member = "user:[email protected]" | ||
role = "roles/viewer" | ||
member = "user:[email protected]" | ||
} |
54 changes: 27 additions & 27 deletions
54
pkg/resource/google/testdata/acc/google_storage_bucket_iam_binding/terraform.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
provider "google" {} | ||
|
||
terraform { | ||
required_version = "~> 0.15.0" | ||
required_providers { | ||
google = { | ||
version = "3.78.0" | ||
} | ||
required_version = "~> 0.15.0" | ||
required_providers { | ||
google = { | ||
version = "3.78.0" | ||
} | ||
} | ||
} | ||
|
||
resource "random_string" "postfix" { | ||
length = 6 | ||
upper = false | ||
special = false | ||
length = 6 | ||
upper = false | ||
special = false | ||
} | ||
|
||
resource "google_storage_bucket" "driftctl-unittest" { | ||
name = "driftctl-unittest-1-${random_string.postfix.result}" | ||
location = "EU" | ||
name = "driftctl-unittest-1-${random_string.postfix.result}" | ||
location = "EU" | ||
} | ||
|
||
resource "google_storage_bucket_iam_binding" "binding_admin_1" { | ||
bucket = google_storage_bucket.driftctl-unittest.name | ||
role = "roles/storage.admin" | ||
members = [ | ||
"user:[email protected]", | ||
] | ||
bucket = google_storage_bucket.driftctl-unittest.name | ||
role = "roles/storage.admin" | ||
members = [ | ||
"user:[email protected]", | ||
] | ||
} | ||
|
||
resource "google_storage_bucket_iam_binding" "binding_viewer_1" { | ||
bucket = google_storage_bucket.driftctl-unittest.name | ||
role = "roles/storage.objectViewer" | ||
members = [ | ||
"user:[email protected]", | ||
] | ||
bucket = google_storage_bucket.driftctl-unittest.name | ||
role = "roles/storage.objectViewer" | ||
members = [ | ||
"user:[email protected]", | ||
] | ||
} | ||
|
||
resource "google_storage_bucket" "driftctl-unittest2" { | ||
name = "driftctl-unittest-2-${random_string.postfix.result}" | ||
location = "EU" | ||
name = "driftctl-unittest-2-${random_string.postfix.result}" | ||
location = "EU" | ||
} | ||
|
||
resource "google_storage_bucket_iam_binding" "binding_admin_2" { | ||
bucket = google_storage_bucket.driftctl-unittest2.name | ||
role = "roles/storage.admin" | ||
members = [ | ||
"user:[email protected]", | ||
] | ||
bucket = google_storage_bucket.driftctl-unittest2.name | ||
role = "roles/storage.admin" | ||
members = [ | ||
"user:[email protected]", | ||
] | ||
} |
48 changes: 24 additions & 24 deletions
48
pkg/resource/google/testdata/acc/google_storage_bucket_iam_member/terraform.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
provider "google" {} | ||
|
||
terraform { | ||
required_version = "~> 0.15.0" | ||
required_providers { | ||
google = { | ||
version = "3.78.0" | ||
} | ||
required_version = "~> 0.15.0" | ||
required_providers { | ||
google = { | ||
version = "3.78.0" | ||
} | ||
} | ||
} | ||
|
||
resource "random_string" "postfix" { | ||
length = 6 | ||
upper = false | ||
special = false | ||
length = 6 | ||
upper = false | ||
special = false | ||
} | ||
|
||
resource "google_storage_bucket" "driftctl-unittest" { | ||
name = "driftctl-unittest-1-${random_string.postfix.result}" | ||
location = "EU" | ||
name = "driftctl-unittest-1-${random_string.postfix.result}" | ||
location = "EU" | ||
} | ||
|
||
resource "google_storage_bucket_iam_member" "elie1" { | ||
bucket = google_storage_bucket.driftctl-unittest.name | ||
role = "roles/storage.admin" | ||
member = "user:[email protected]" | ||
bucket = google_storage_bucket.driftctl-unittest.name | ||
role = "roles/storage.admin" | ||
member = "user:[email protected]" | ||
} | ||
|
||
resource "google_storage_bucket_iam_member" "will1" { | ||
bucket = google_storage_bucket.driftctl-unittest.name | ||
role = "roles/storage.objectViewer" | ||
member = "user:[email protected]" | ||
bucket = google_storage_bucket.driftctl-unittest.name | ||
role = "roles/storage.objectViewer" | ||
member = "user:[email protected]" | ||
} | ||
|
||
resource "google_storage_bucket" "driftctl-unittest2" { | ||
name = "driftctl-unittest-2-${random_string.postfix.result}" | ||
location = "EU" | ||
name = "driftctl-unittest-2-${random_string.postfix.result}" | ||
location = "EU" | ||
} | ||
|
||
resource "google_storage_bucket_iam_member" "eli2" { | ||
bucket = google_storage_bucket.driftctl-unittest2.name | ||
role = "roles/storage.objectViewer" | ||
member = "user:[email protected]" | ||
bucket = google_storage_bucket.driftctl-unittest2.name | ||
role = "roles/storage.objectViewer" | ||
member = "user:[email protected]" | ||
} | ||
|
||
resource "google_storage_bucket_iam_member" "will2" { | ||
bucket = google_storage_bucket.driftctl-unittest2.name | ||
role = "roles/storage.admin" | ||
member = "user:[email protected]" | ||
bucket = google_storage_bucket.driftctl-unittest2.name | ||
role = "roles/storage.admin" | ||
member = "user:[email protected]" | ||
} |