Skip to content

Commit

Permalink
fix failing posture test (GoogleCloudPlatform#10086)
Browse files Browse the repository at this point in the history
* fix failing posture test

* modify posture name

---------

Co-authored-by: Sneha Prasad <[email protected]>
  • Loading branch information
2 people authored and pengq-google committed May 21, 2024
1 parent 01c6b9a commit 598943d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "google_securityposture_posture" "<%= ctx[:primary_resource_id] %>"{
posture_id = "posture_1"
posture_id = "posture_example"
parent = "organizations/<%= ctx[:test_env_vars]['org_id'] %>"
location = "global"
state = "ACTIVE"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "google_securityposture_posture" "posture1" {
resource "google_securityposture_posture" "posture_1" {
posture_id = "posture_1"
parent = "organizations/<%= ctx[:test_env_vars]['org_id'] %>"
location = "global"
Expand Down Expand Up @@ -27,6 +27,6 @@ resource "google_securityposture_posture_deployment" "<%= ctx[:primary_resource_
location = "global"
description = "a new posture deployment"
target_resource = "projects/<%= ctx[:test_env_vars]['project_number'] %>"
posture_id = google_securityposture_posture.posture1.name
posture_revision_id = google_securityposture_posture.posture1.revision_id
posture_id = google_securityposture_posture.posture_1.name
posture_revision_id = google_securityposture_posture.posture_1.revision_id
}

0 comments on commit 598943d

Please sign in to comment.