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

Lacework Fix: infrastructure.tf #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

iacbot-demo[bot]
Copy link

@iacbot-demo iacbot-demo bot commented Jan 13, 2023

Lacework has created this pull request to fix configuration for a resource in your Infrastructure as Code (IaC).

Policy

Ensure VPC subnets do not assign public IP by default

Description

Amazon Virtual Private Cloud (Amazon VPC) enables you to launch AWS resources into a virtual network that you've defined. It is logically isolated from other virtual networks in the AWS Cloud. You can launch your AWS resources, such as Amazon EC2 instances, into your VPC.

When you create a VPC, you must specify a range of IPv4 addresses for the VPC in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. This is the primary CIDR block for your VPC.

A VPC spans all of the Availability Zones in the Region. After creating a VPC, you can add one or more subnets in each Availability Zone. You can optionally add subnets in a Local Zone, which is an AWS infrastructure deployment that places compute, storage, database, and other select services closer to your end users.

Each subnet must reside entirely within one Availability Zone and cannot span zones. When creating a subnet, if the map_public_ip_on_launch flag is set to false it creates a private subnet not accessible from public internet.

Assessment

xcp-f8418cd3eec0ada16f7fe5cd425834a406e4f86991f131569cb6daed56478d6b

Please review the pull request before merging it, to ensure any disruption in your Infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants