Difference between revisions of "Data Source: aws availability zones"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
  
Official example:  
+
Official example, Only Availability Zones (no Local Zones):
 
  [[data]] "aws_availability_zones" "example" {
 
  [[data]] "aws_availability_zones" "example" {
 
   filter {
 
   filter {

Revision as of 05:31, 12 February 2024

Selection can be made by state or by filter.


Official example, Only Availability Zones (no Local Zones):

data "aws_availability_zones" "example" {
  filter {
    name   = "opt-in-status"
    values = ["opt-in-not-required"]
  }
}

Related

See also

Advertising: