Skip to content

Commit

Permalink
Merged in dev/can/rm-us-west-1-2022-02-03 (pull request elastic#428)
Browse files Browse the repository at this point in the history
Remove us-west-1 from AMI distribution

Approved-by: Gideon Avida
  • Loading branch information
Can Yildiz committed Feb 4, 2022
1 parent aa3061e commit a7702ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion build-utils/build_and_distribute_ami.py
Expand Up @@ -54,7 +54,6 @@
DESTINATION_REGIONS = [
"us-east-1",
"us-east-2",
"us-west-1",
"eu-north-1",
"ap-southeast-2",
]
Expand Down
2 changes: 1 addition & 1 deletion build-utils/delete_ami.py
Expand Up @@ -9,7 +9,7 @@
parser = argparse.ArgumentParser()
parser.add_argument("ami_ids", nargs="+", help="AMI IDs to delete")
parser.add_argument("-r", "--region",
choices=["us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-north-1", "ap-southeast-2"],
choices=["us-east-1", "us-east-2", "us-west-2", "eu-north-1", "ap-southeast-2"],
default="us-west-2",
help="AWS region hosting the AMI. Default: %(default)s")
args = parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion build-utils/share-ami.py
Expand Up @@ -11,7 +11,7 @@
parser.add_argument("account_id", help="Targe Account ID")
parser.add_argument("ami_id", nargs="+", help="AMI ID to share")
parser.add_argument("-r", "--region",
choices=["us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-north-1"],
choices=["us-east-1", "us-east-2", "us-west-2", "eu-north-1"],
default="us-west-2",
help="AWS region hosting the AMI. Default: %(default)s")
args = parser.parse_args()
Expand Down

0 comments on commit a7702ff

Please sign in to comment.