-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstance.tf
More file actions
27 lines (23 loc) · 765 Bytes
/
instance.tf
File metadata and controls
27 lines (23 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Configure the AWS Provider
provider "aws" {
region = "us-east-1"
shared_credentials_file = ".aws/credentials"
profile = "awsterraform"
}
resource "aws_elastic_beanstalk_application" "application" {
name = "AppTesteItau2"
}
resource "aws_elastic_beanstalk_environment" "environment" {
name = "AmbienteTesteItau2"
application = aws_elastic_beanstalk_application.application.name
solution_stack_name = "64bit Windows Server 2019 v2.6.3 running IIS 10.0"
setting {
namespace = "aws:autoscaling:launchconfiguration"
name = "IamInstanceProfile"
value = "aws-elasticbeanstalk-ec2-role"
}
}
resource "aws_s3_bucket" "bucketitau" {
bucket = "testeitau"
acl = "public-read"
}