Difference between revisions of "Aws account disable-region"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[aws account]] disable-region
+
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
 
* 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]

Related[edit]

See also[edit]

Advertising: