Skip to content

Commit

Permalink
flake8 findings
Browse files Browse the repository at this point in the history
  • Loading branch information
liamschn committed Feb 8, 2024
1 parent 8200e5c commit eaa8ffc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aws_sra_examples/terraform/solutions/terraform_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def plan(account: str, region: str) -> None:
account (str): Account ID
region (str): Region
"""
subprocess.run(f"terraform plan -var-file=config.tfvars -var account_id={account} -var account_region={region}",
subprocess.run(f"terraform plan -var-file=config.tfvars -var account_id={account} -var account_region={region}", # noqa: DUO116
check=True, shell=True) # nosec B602 # noqa: S602,DUO116


Expand All @@ -141,7 +141,7 @@ def apply(account: str, region: str) -> None:
account (str): Account ID
region (str): Region
"""
subprocess.run(f"terraform apply -var-file=config.tfvars -var account_id={account} -var account_region={region} -auto-approve",
subprocess.run(f"terraform apply -var-file=config.tfvars -var account_id={account} -var account_region={region} -auto-approve", # noqa: DUO116
check=True, shell=True) # nosec B602 # noqa: S602,DUO116


Expand All @@ -152,7 +152,7 @@ def destroy(account: str, region: str) -> None:
account (str): Account ID
region (str): Region
"""
subprocess.run(f"terraform destroy -var-file=config.tfvars -var account_id={account} -var account_region={region} -auto-approve",
subprocess.run(f"terraform destroy -var-file=config.tfvars -var account_id={account} -var account_region={region} -auto-approve", # noqa: DUO116
check=True, shell=True) # nosec B602 # noqa: S602,DUO116


Expand Down

0 comments on commit eaa8ffc

Please sign in to comment.