Module library

Global Accelerator

Terraform module to create AWS Global Accelerator resources

Version
Submodules
custom-routing

Inputs

13
createoptionalbool

Controls if resources should be created (affects nearly all resources)

Defaulttrue
create_listenersoptionalbool

Controls if listeners should be created (affects only listeners)

Defaulttrue
enabledoptionalbool

Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`

Defaulttrue
endpoint_groups_timeoutsoptionalmap(string)

Create, update, and delete timeout configurations for the endpoint groups

Default{}
flow_logs_enabledoptionalbool

Indicates whether flow logs are enabled. Defaults to `false`

Defaultfalse
flow_logs_s3_bucketoptionalstring

The name of the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`

Defaultnull
flow_logs_s3_prefixoptionalstring

The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`

Defaultnull
ip_address_typeoptionalstring

The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`, `DUAL_STACK`

DefaultIPV4
ip_addressesoptionallist(string)

The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses

Default[]
listenersoptionalany

A map of listener defintions to create

Default{}
listeners_timeoutsoptionalmap(string)

Create, update, and delete timeout configurations for the listeners

Default{}
nameoptionalstring

The name of the accelerator

Default""
tagsoptionalmap(string)

A map of tags to add to all resources

Default{}

All 13 are optional — the module deploys with none of them set.

Outputs

8
arn

The Amazon Resource Name (ARN) of the accelerator

dns_name

The DNS name of the accelerator

dual_stack_dns_name

The DNS name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses

endpoint_groups

Map of endpoints created and their associated attributes

hosted_zone_id

The Global Accelerator Route 53 zone ID that can be used to route an Alias Resource Record Set to the Global Accelerator

id

The Amazon Resource Name (ARN) of the accelerator

ip_sets

IP address set associated with the accelerator

listeners

Map of listeners created and their associated attributes

What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else.