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

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
   }
 
   }
 
  }
 
  }
 +
 +
 +
 +
[[data.aws_availability_zones.current]] is object with 10 attributes
  
 
== Related ==
 
== Related ==
 
* <code>[[aws_ami]]</code>
 
* <code>[[aws_ami]]</code>
 +
* [[random_string]]
  
 
== See also ==
 
== See also ==

Latest revision as of 11:20, 25 October 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"]
  }
}


data.aws_availability_zones.current is object with 10 attributes

Related[edit]

See also[edit]

Advertising: