Skip to content

Commit

Permalink
Fix vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoReigota1 committed Nov 16, 2021
1 parent 50b2f8d commit 76492eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

# Dependency directories (remove the comment below to include it)
vendor/
results/
payload.json

# terraform case
*/.terraform
Expand Down
6 changes: 3 additions & 3 deletions deployment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "aws_autoscaling_group" "server_auto_scaling" {
load_balancers = [aws_elb.server_elb.name]
availability_zones = ["eu-west-2b", "eu-west-2a"]
min_size = 2
max_size = 6
max_size = 5

tag {
key = "Name"
Expand Down Expand Up @@ -84,14 +84,14 @@ resource "aws_security_group" "elb" {

resource "aws_elb" "server_elb" {
name = "go-simple-server"
availability_zones = ["eu-west-2b", "eu-west-2a"]
availability_zones = ["eu-west-2c", "eu-west-2a"]
security_groups = [aws_security_group.elb.id]

access_logs {
bucket = "sample-server-log-bucket"
bucket_prefix = "bar"
interval = 60
enabled = false
enabled = true
}

listener {
Expand Down

0 comments on commit 76492eb

Please sign in to comment.