Difference between revisions of "Aws account disable-region"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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.
a valid region for opt-in or opt-out.
 
  
 
== Terraform ==
 
== Terraform ==
Line 13: Line 12:
 
== 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: