Skip to content

Commit

Permalink
Use target org for security postures (GoogleCloudPlatform#11692)
Browse files Browse the repository at this point in the history
  • Loading branch information
slevenick authored and Philip Jonany committed Nov 4, 2024
1 parent e98f217 commit 35e9f04
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mmv1/products/securityposture/Posture.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ examples:
vars:
posture_id: "posture_example"
test_env_vars:
org_id: :ORG_ID
org_id: :ORG_TARGET
parameters:
- !ruby/object:Api::Type::String
name: 'parent'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/products/securityposture/go_Posture.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ examples:
vars:
posture_id: 'posture_example'
test_env_vars:
org_id: 'ORG_ID'
org_id: 'ORG_TARGET'
parameters:
- name: 'parent'
type: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func TestAccSecurityPosturePostureDeployment_securityposturePostureDeployment_up
t.Parallel()

context := map[string]interface{}{
"org_id": envvar.GetTestOrgFromEnv(t),
"org_id": envvar.GetTestOrgTargetFromEnv(t),
"project_number": envvar.GetTestProjectNumberFromEnv(),
"random_suffix": acctest.RandString(t, 10),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func TestAccSecurityposturePosture_securityposturePosture_update(t *testing.T) {
t.Parallel()

context := map[string]interface{}{
"org_id": envvar.GetTestOrgFromEnv(t),
"org_id": envvar.GetTestOrgTargetFromEnv(t),
"random_suffix": acctest.RandString(t, 10),
}

Expand Down

0 comments on commit 35e9f04

Please sign in to comment.