@@ -119,8 +119,8 @@ def plan(account: str, region: str) -> None:
119119 account (str): Account ID
120120 region (str): Region
121121 """
122- subprocess .run (
123- f"terraform plan -var-file=config.tfvars -var account_id={ account } -var account_region={ region } " , check = True , shell = True # noqa: DUO116
122+ subprocess .run (# noqa: DUO116
123+ f"terraform plan -var-file=config.tfvars -var account_id={ account } -var account_region={ region } " , check = True , shell = True # noqa: S602, DUO116
124124 ) # nosec B602 # noqa: S602,DUO116
125125
126126
@@ -131,10 +131,10 @@ def apply(account: str, region: str) -> None:
131131 account (str): Account ID
132132 region (str): Region
133133 """
134- subprocess .run (
134+ subprocess .run (# noqa: DUO116
135135 f"terraform apply -var-file=config.tfvars -var account_id={ account } -var account_region={ region } -auto-approve" , # noqa: DUO116
136136 check = True ,
137- shell = True ,
137+ shell = True ,# noqa: S602
138138 ) # nosec B602 # noqa: S602,DUO116
139139
140140
@@ -145,10 +145,10 @@ def destroy(account: str, region: str) -> None:
145145 account (str): Account ID
146146 region (str): Region
147147 """
148- subprocess .run (
148+ subprocess .run (# noqa: DUO116
149149 f"terraform destroy -var-file=config.tfvars -var account_id={ account } -var account_region={ region } -auto-approve" , # noqa: DUO116
150150 check = True ,
151- shell = True ,
151+ shell = True ,# noqa: S602
152152 ) # nosec B602 # noqa: S602,DUO116
153153
154154
0 commit comments