global-accelerator

cloudposse/global-accelerator/aws

Terraform Module HCL AWS

Terraform module to configure AWS Global Accelerator

Install
module "global-accelerator" {
source = "cloudposse/global-accelerator/aws"
version = "0.6.1"
}
plain text: /constructs/tfmod-cloudposse-global-accelerator-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

This module provisions AWS Global Accelerator. Multiple listeners can be specified when instantiating this module. The endpoint-group submodule provisions a Global Accelerator Endpoint Group for a listener created by this module and can be instantiated multiple times in order to provision multiple Endpoint Groups. The reason why endpoint-group is its own submodule is because an AWS Provider needs to be instantiated for the region the Endpoint Group's endpoints reside in. For more information, see the endpoint-group documentation. > [!TIP] > #### 👽 Use Atmos with Terraform > Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. > Works with Github Actions, Atlantis, or Spacelift. > > > Watch demo of using Atmos with Terraform > > Example of running atmos to man

Inputs (23)
NameTypeDescriptionDefault
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp'null
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
additional_tag_mapmap(string)Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add{}
flow_logs_s3_bucketstringThe name of the S3 Bucket for the Accelerator Flow Logs. Required if `var.flow_lnull
environmentstringID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'stnull
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bunull
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thinull
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` null
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will null
descriptor_formatsanyDescribe additional descriptors to be output in the `descriptors` output map. Ma{}
flow_logs_enabledboolEnable or disable flow logs for the Global Accelerator.false
enabledboolSet to false to prevent the module from creating any resourcesnull
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["nanull
label_value_casestringControls the letter case of ID elements (labels) as included in `id`, set as tagnull
flow_logs_s3_prefixstringThe Object Prefix within the S3 Bucket for the Accelerator Flow Logs. Required inull
ip_address_typestringThe address type to use for the Global Accelerator. At this moment, [only IPV4 i"IPV4"
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indinull
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
Outputs (5)
listener_ids — Global Accelerator Listener IDs.
static_ips — Global Static IPs owned by the Global Accelerator.
name — Name of the Global Accelerator.
dns_name — DNS name of the Global Accelerator.
hosted_zone_id — Route 53 zone ID that can be used to route an Alias Resource Record Set to the Global Accelerator.
Resources (2)
aws_globalaccelerator_acceleratoraws_globalaccelerator_listener
Details
FrameworkTerraform Module
LanguageHCL
Version0.6.1
Cloud AWS
★ Stars7
Forks4
Total downloads146.2k
Inputs23
Outputs5
Resources2
Examples3
Submodules1
LicenseApache-2.0
Namespacecloudposse
Updated