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

Sg module integration #7

Merged
merged 26 commits into from
Sep 28, 2023
Merged

Sg module integration #7

merged 26 commits into from
Sep 28, 2023

Conversation

jordan-fry-cf
Copy link
Contributor

Rewrote EC2 module to use the AWS-ACE-SecurityGroup module

@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2023

Markdown Valid

@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2023

Checkov Scan Results 📖:

File Check ID Description Resource Checkov Result
/ec2.tf CKV_AWS_79 Ensure Instance Metadata Service Version 1 is not enabled aws_instance.this FAILED

Please review the above report. ⚠️

iam.tf Show resolved Hide resolved
locals.tf Show resolved Hide resolved
@github-actions
Copy link
Contributor

Markdown Valid

@github-actions
Copy link
Contributor

Checkov Scan Results 📖:

File Check ID Description Resource Checkov Result
/ec2.tf CKV_AWS_79 Ensure Instance Metadata Service Version 1 is not enabled aws_instance.this FAILED

Please review the above report. ⚠️

@github-actions
Copy link
Contributor

Markdown Valid

@github-actions
Copy link
Contributor

Checkov Scan Results 📖:

File Check ID Description Resource Checkov Result
/ec2.tf CKV_AWS_79 Ensure Instance Metadata Service Version 1 is not enabled aws_instance.this FAILED

Please review the above report. ⚠️

@github-actions
Copy link
Contributor

Markdown Valid

@github-actions
Copy link
Contributor

Checkov Scan Results 📖:

File Check ID Description Resource Checkov Result
/ec2.tf CKV_AWS_79 Ensure Instance Metadata Service Version 1 is not enabled aws_instance.this FAILED

Please review the above report. ⚠️

@github-actions
Copy link
Contributor

Markdown Valid

@github-actions
Copy link
Contributor

🌟 No Terraform files were modified in this PR or all modified Terraform files passed the Checkov checks. Good job! 🌟


# Prerequisites

Generate an EC2 key pair and place the pem key in this directory. Add the pem file to the tfvars file. To match the example tfvars file, run the following command in the terminal while in this directory:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the way this reads, it creates a vpc itself. vpc and networking should only be done in the networking module. this module should only networking info as vars

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so are you opting that we remove VPC completely from the example?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@douglas-f you good to close this out?

examples/simple/tfvars/example.tfvars Outdated Show resolved Hide resolved
sg.tf Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

Markdown Valid

iam.tf Show resolved Hide resolved
locals.tf Show resolved Hide resolved

# Prerequisites

Generate an EC2 key pair and place the pem key in this directory. Add the pem file to the tfvars file. To match the example tfvars file, run the following command in the terminal while in this directory:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so are you opting that we remove VPC completely from the example?

sg.tf Outdated Show resolved Hide resolved
sg.tf Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

Markdown Valid

@github-actions
Copy link
Contributor

Markdown Valid

@douglas-f douglas-f merged commit 4774317 into main Sep 28, 2023
@douglas-f douglas-f deleted the sg-module-integration branch September 28, 2023 22:59
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.

4 participants