Skip to content

Commit

Permalink
chore: remove references to non-Snyk domains in acc test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
craigfurman committed Jun 1, 2023
1 parent 01b24be commit 7e92a79
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 60 deletions.
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]"
}
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]",
]
}
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]"
}

0 comments on commit 7e92a79

Please sign in to comment.