Creates an AWS Global Accelerator with specific IP addresses and flow logs enabled, storing logs in an S3 bucket.

Terraform Template

resource "aws_globalaccelerator_accelerator" "example" {

  attributes {
    flow_logs_enabled = true
    flow_logs_s3_bucket = "example-bucket"
    flow_logs_s3_prefix = "flow-logs/"
  }
  enabled = true
  ip_address_type = "IPV4"
  ip_addresses = ["1.2.3.4"]
  name = "Example"
}