Aws Functions
Functions
Use this data source to get the ID of a registered AMI for use in other resources.
Use this data source to get a list of AMI IDs matching the specified criteria.
Parses an ARN into its constituent parts.
The Autoscaling Groups data source allows access to the list of AWS ASGs within a specific region. This will allow you to pass a list of AutoScaling Groups to other resources.
aws.getAvailabilityZone
provides details about a specific availability zone (AZ) in the current region. This can be used both to validate an availability zone given in a variable and to split the AZ name into its component parts of an AWS region and an AZ identifier letter. The latter may be useful e.g., for implementing a consistent subnet numbering scheme across several regions by mapping both the region and the subnet letter to network numbers. This is different from the aws.getAvailabilityZones
(plural) data source, which provides a list of the available zones.
The Availability Zones data source allows access to the list of AWS Availability Zones which can be accessed by an AWS account within the region configured in the provider. This is different from the aws.getAvailabilityZone
(singular) data source, which provides some details about a specific availability zone.
Use this data source to get the Account ID of the AWS Billing and Cost Management Service Account for the purpose of permitting in S3 bucket policy.
Use this data source to get the access to the effective Account ID, User ID, and ARN in which this provider is authorized.
The Canonical User ID data source allows access to the canonical user ID for the effective account in which this provider is working.
Use this data source to get the default tags configured on the provider. With this data source, you can apply default tags to resources not directly managed by a resource, such as the instances underneath an Auto Scaling group or the volumes created for an EC2 instance.
aws.ec2.Eip
provides details about a specific Elastic IP.
Use this data source to get the IP ranges of various AWS products and services. For more information about the contents of this data source and required JSON syntax if referencing a custom URL, see the AWS IP Address Ranges documentation.
Use this data source to lookup information about the current AWS partition in which the provider is working.
aws.ec2.getPrefixList
provides details about a specific AWS prefix list (PL) in the current region. This can be used both to validate a prefix list given in a variable and to obtain the CIDR blocks (IP address ranges) for the associated AWS service. The latter may be useful e.g., for adding network ACL rules. The aws.ec2.ManagedPrefixList data source is normally more appropriate to use given it can return customer-managed prefix list info, as well as additional attributes.
aws.getRegion
provides details about a specific AWS region. As well as validating a given region name this resource can be used to discover the name of the region configured within the provider. The latter can be useful in a child module which is inheriting an AWS provider configuration from its parent module.
Provides information about AWS Regions. Can be used to filter regions i.e., by Opt-In status or only regions enabled for current account. To get details like endpoint and description of each region the data source can be combined with the aws.getRegion
data source.
Use this data source to compose and decompose AWS service DNS names.