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

Scp/block ec2 #230

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Scp/block ec2 #230

wants to merge 2 commits into from

Conversation

gcharest
Copy link
Contributor

@gcharest gcharest commented Feb 9, 2024

Summary | Résumé

Updating the LZ configuration with the EC2 SCP used in the console

Copy link

github-actions bot commented Feb 9, 2024

Plan for org_account/organization

❌   Terraform Init: failed
❌   Terraform Validate: failed
❌   Terraform Format: failed
❌   Terraform Plan: failed
❌   Conftest: failed

Show Init results
Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing modules...
- AFT_SRC in modules/global_controls
- DISALLOW_CFN_EXTENSIONS in modules/control
- DumpsterFire_SRC in modules/global_controls
- Production_SRC in modules/global_controls
- REQUIRE_CLOUDTRAIL_LOG_FILE_VALIDATION in modules/control
- SRETools_SRC in modules/global_controls
- Sandbox_SRC in modules/global_controls
- Security_SRC in modules/global_controls
- Staging_SRC in modules/global_controls
- Test_SRC in modules/global_controls

Error: Invalid resource name

  on organizations.tf line 67, in resource "aws_organizations_policy_attachment" "767397971970-PreventEC2Creation":
  67: resource "aws_organizations_policy_attachment" "767397971970-PreventEC2Creation" {

A name must start with a letter or underscore and may contain only letters,
digits, underscores, and dashes.

time=2024-02-09T15:46:02Z level=error msg=terraform invocation failed in /home/runner/work/cds-aws-lz/cds-aws-lz/terragrunt/org_account/organization
time=2024-02-09T15:46:02Z level=error msg=1 error occurred:
	* [/home/runner/work/cds-aws-lz/cds-aws-lz/terragrunt/org_account/organization] exit status 1


Show Validate results
Error: Invalid resource name

  on organizations.tf line 67, in resource "aws_organizations_policy_attachment" "767397971970-PreventEC2Creation":
  67: resource "aws_organizations_policy_attachment" "767397971970-PreventEC2Creation" {

A name must start with a letter or underscore and may contain only letters,
digits, underscores, and dashes.

time=2024-02-09T15:46:03Z level=error msg=terraform invocation failed in /home/runner/work/cds-aws-lz/cds-aws-lz/terragrunt/org_account/organization prefix=[/home/runner/work/cds-aws-lz/cds-aws-lz/terragrunt/org_account/organization] 
time=2024-02-09T15:46:03Z level=error msg=1 error occurred:
	* [/home/runner/work/cds-aws-lz/cds-aws-lz/terragrunt/org_account/organization] exit status 1


Show plan
Initializing the backend...
Initializing modules...

Error: Invalid resource name

  on organizations.tf line 67, in resource "aws_organizations_policy_attachment" "767397971970-PreventEC2Creation":
  67: resource "aws_organizations_policy_attachment" "767397971970-PreventEC2Creation" {

A name must start with a letter or underscore and may contain only letters,
digits, underscores, and dashes.

time=2024-02-09T15:46:05Z level=error msg=terraform invocation failed in /home/runner/work/cds-aws-lz/cds-aws-lz/terragrunt/org_account/organization prefix=[/home/runner/work/cds-aws-lz/cds-aws-lz/terragrunt/org_account/organization] 
time=2024-02-09T15:46:05Z level=error msg=1 error occurred:
	* [/home/runner/work/cds-aws-lz/cds-aws-lz/terragrunt/org_account/organization] exit status 1


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.

None yet

1 participant