Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/accurics_remediation_8576009597509875 - Auto Generated Pull Request From Accurics #2

Open
wants to merge 1 commit into
base: awsjam
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions main.tf
Original file line number Diff line number Diff line change
@@ -12,14 +12,14 @@ terraform {

provider "random" {}
resource "random_pet" "bucket_name" {
length = 2
length = 2
separator = "-"
prefix = "tenable-jam"
prefix = "tenable-jam"
}

#provider "aws" {
# region = "us-east-1"
# shared_config_files = [ $HOME/.aws/config ]
# shared_config_files = [ $HOME/.aws/config ]
# shared_credentials_files = [ $HOME/.aws/credentials]
# profile = "demoprofile"
#}
@@ -113,18 +113,18 @@ resource "aws_security_group" "prod_web" {
description = "Allow standard http and https ports inbound and everything outbound"

ingress {
from_port = 80
to_port = 80
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
// cidr_blocks = ["172.31.0.0/28"]
from_port = 80
to_port = 80
protocol = "tcp"
cidr_blocks = ["<cidr>"]
// cidr_blocks = ["172.31.0.0/28"]
}
ingress {
from_port = 443
to_port = 443
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
// cidr_blocks = ["172.31.0.0/28"]
// cidr_blocks = ["172.31.0.0/28"]
}
egress {
from_port = 0