Skip to content

Commit

Permalink
update elastic beanstalk
Browse files Browse the repository at this point in the history
  • Loading branch information
tinhtq committed Dec 9, 2024
1 parent f7de045 commit 6ab5fa1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions elastic-beanstalk/sample/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

resource "aws_elastic_beanstalk_application" "example" {
name = "example-application"
description = "A simple Elastic Beanstalk application"
}

resource "aws_elastic_beanstalk_environment" "example" {
name = "example-environment"
application = aws_elastic_beanstalk_application.example.name
solution_stack_name = "64bit Amazon Linux 2 v5.4.4 running Node.js 16" # Update for your environment
}

output "elastic_beanstalk_url" {
value = aws_elastic_beanstalk_environment.example.endpoint_url
}

0 comments on commit 6ab5fa1

Please sign in to comment.