Difference between revisions of "Aws account disable-region"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
aws account disable-region --region-name ap-south-1 | aws account disable-region --region-name ap-south-1 | ||
− | An error occurred (ValidationException) when calling the DisableRegion operation: ap-south-1 is not | + | An error occurred ([[ValidationException]]) when calling the DisableRegion operation: ap-south-1 is not a valid region for opt-in or opt-out. |
− | |||
== Terraform == | == Terraform == |
Revision as of 14:15, 19 February 2024
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
- As of Feb 2024 not available in Terraform AWS provider: https://github.com/hashicorp/terraform-provider-aws/issues/31300
Related
aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text
See also
Advertising: