Difference between revisions of "Aws account disable-region"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
[[aws account]] disable-region --region-name | [[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 | * As of Feb 2024 not available in [[Terraform AWS provider]]: https://github.com/hashicorp/terraform-provider-aws/issues/31300 | ||
== Related == | == Related == | ||
* <code>[[aws ec2 describe-regions]] --query "Regions[].{Name:RegionName}" --output text</code> | * <code>[[aws ec2 describe-regions]] --query "Regions[].{Name:RegionName}" --output text</code> | ||
− | + | * [[AWS: Denies access to AWS based on the requested Region]] | |
== See also == | == See also == |
Latest revision as of 14:30, 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[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: