File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 184184 " healthcare/datasets" ,
185185 " healthcare/dicom" ,
186186 " healthcare/hl7v2" ,
187+ " iam/deny" ,
187188 " kms" ,
188189 " media/livestream" ,
189190 " media/transcoder" ,
Original file line number Diff line number Diff line change 9494 " functions/slack" , // TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type ... Received undefined
9595 " functions/v2/imagemagick" , // (untested) Error: A bucket name is needed to use Cloud Storage.
9696 " healthcare/fhir" , // Error: Cannot find module 'whatwg-url'
97- " iam/deny" , // PERMISSION_DENIED: Permission iam.googleapis.com/denypolicies.create denied on resource cloudresourcemanager.googleapis.com/projects/long-door-651
9897 " recaptcha_enterprise/snippets" , // Cannot use import statement outside a module
9998 " run/idp-sql" , // (untested) Error: Invalid contents in the credentials file
10099 " scheduler" , // SyntaxError: Cannot use import statement outside a module
Original file line number Diff line number Diff line change @@ -24,14 +24,10 @@ const iamClient = new PoliciesClient();
2424const execSync = cmd => cp . execSync ( cmd , { encoding : 'utf-8' } ) ;
2525
2626describe ( 'IAM deny samples' , ( ) => {
27- let projectId ;
27+ const { projectId} = process . env ;
2828 const policyId = `gcloud-test-policy-${ uuid . v4 ( ) . split ( '-' ) [ 0 ] } ` ;
2929 const policyName = `policies/cloudresourcemanager.googleapis.com%2Fprojects%2F949737848314/denypolicies/${ policyId } ` ;
3030
31- before ( async ( ) => {
32- projectId = await iamClient . getProjectId ( ) ;
33- } ) ;
34-
3531 it ( 'should create IAM policy' , async ( ) => {
3632 const output = execSync ( `node createDenyPolicy ${ projectId } ${ policyId } ` ) ;
3733
You can’t perform that action at this time.
0 commit comments