aws account disable-region
Jump to navigation
Jump to search
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/account/disable-region.html
aws account disable-region --region-name
aws account disable-region --region-name ap-south-1 An error occurred (ValidationException) when calling the DisableRegion operation: ap-south-1 is not a valid region for opt-in or opt-out.
Terraform[edit]
- As of Feb 2024 not available in Terraform AWS provider: https://github.com/hashicorp/terraform-provider-aws/issues/31300
Related[edit]
aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text
- AWS: Denies access to AWS based on the requested Region
See also[edit]
Advertising: