Skip to content

Instantly share code, notes, and snippets.

@i5okie
Created July 25, 2018 18:45
Show Gist options
  • Save i5okie/276858056b6d0069a3b1dbe4f76ba455 to your computer and use it in GitHub Desktop.
Save i5okie/276858056b6d0069a3b1dbe4f76ba455 to your computer and use it in GitHub Desktop.
Using an Elastic Beanstalk - Custom platform with terraform
# I couldn't find any documentation or mention of using a EB platform in Terraform templates.
# solution_stack_name example: arn:aws:elasticbeanstalk:us-west-2:055555555555:platform/eb-elixir/1.0.15
resource "aws_elastic_beanstalk_environment" "main" {
name = "main"
description = "EB Environment with custom platform"
solution_stack_name = "arn:aws:elasticbeanstalk:us-west-2:<account_number>:platform/<platform_name>/<platform_version>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment