Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix failing posture test #10086

Merged
merged 2 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}