Skip to content

Sandbox #13

Merged
merged 20 commits into from
Aug 20, 2024
Merged

Sandbox #13

merged 20 commits into from
Aug 20, 2024

Conversation

arnol377
Copy link
Collaborator

No description provided.

@arnol377 arnol377 closed this Aug 20, 2024
@arnol377 arnol377 reopened this Aug 20, 2024
@arnol377 arnol377 closed this Aug 20, 2024
@arnol377 arnol377 reopened this Aug 20, 2024
@arnol377
Copy link
Collaborator Author

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository.repo: Refreshing state... [id=image-pipeline-goss-testing]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].github_repository.repo: Refreshing state... [id=windows-image-pipeline]
module.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].github_repository.repo: Refreshing state... [id=linux-image-pipeline]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository.repo: Refreshing state... [id=image-pipeline-ansible-playbooks]
module.image_pipeline_repos["docker-image-pipeline"].github_repository.repo: Refreshing state... [id=docker-image-pipeline]
module.elastic_beanstalk.github_repository.repo: Refreshing state... [id=aws-beanstalk]
module.automation-repos.github_repository.repo: Refreshing state... [id=automation-repos]
module.setup_terraform.github_repository.repo: Refreshing state... [id=gh-actions-setup-terraform]
module.aws_image_pipeline.github_repository.repo: Refreshing state... [id=aws-image-pipeline]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.asset_releases.github_repository.repo: Refreshing state... [id=image-pipeline-asset-releases]
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Reading...
module.asset_releases.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Read complete after 1s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.asset_releases.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.setup_node.github_repository.repo: Refreshing state... [id=gh-actions-setup-node]
module.elastic_beanstalk_nodejs.github_repository.repo: Refreshing state... [id=aws-beanstalk-nodejs]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 6s [id=549]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 6s [id=603]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 5s [id=603]
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 5s [id=549]
module.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 3s [id=603]
module.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 3s [id=603]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 1s [id=603]
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.setup_terraform.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.terraform-github-repo.github_repository.repo: Refreshing state... [id=terraform-github-repo]
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]
module.elastic_beanstalk_java.github_repository.repo: Refreshing state... [id=aws-beanstalk-java]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 1s [id=603]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Read complete after 1s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.setup_terraform.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_docker.github_repository.repo: Refreshing state... [id=aws-beanstalk-docker]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 7s [id=549]
module.elastic_beanstalk_php.github_repository.repo: Refreshing state... [id=aws-beanstalk-php]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 7s [id=603]
module.image_pipeline_repos["docker-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Reading...
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 9s [id=549]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_organization_teams.root_teams[0]: Reading...
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 8s [id=603]
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 9s [id=549]
module.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 9s [id=603]
module.terraform_aws_image_pipeline.github_repository.repo: Refreshing state... [id=terraform-aws-image-pipeline]
module.image_pipeline_repos["docker-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 6s [id=549]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 5s [id=603]
module.morpheus_repos["morpheus-clouds"].github_repository.repo: Refreshing state... [id=morpheus-clouds]
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 4s [id=603]
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 1s [id=603]
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]
module.sandbox["arnol377-sandbox"].data.github_organization_teams.root_teams[0]: Reading...
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.ghe_runners.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_organization_teams.root_teams[0]: Read complete after 6s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Reading...
module.ghe_runners.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.automation-repos.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.ghe_runners.github_repository.repo: Refreshing state... [id=ghe-runners]
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.beanstalk-demo.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 9s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.automation-repos.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.beanstalk-demo.github_repository.repo: Refreshing state... [id=beanstalk-flask-demo]
module.setup_node.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 9s [id=549]
module.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 8s [id=603]
module.aws_session_configuration.aws_iam_user.user: Refreshing state... [id=github-actions-s3_upload]
data.aws_region.current: Reading...
data.aws_region.current: Read complete after 0s [id=us-gov-west-1]
module.aws_session_configuration.data.aws_iam_policy_document.admin_policy: Reading...
module.aws_session_configuration.data.aws_iam_policy_document.admin_policy: Read complete after 0s [id=1789900679]
module.elastic_beanstalk.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk:gomez385]
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]
module.sandbox["arnol377-sandbox"].data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]
module.elastic_beanstalk.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk:lolli001]
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 11s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk:morga471]
module.beanstalk-demo.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk:naray007]
module.setup_terraform.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-terraform:naray007]
module.sandbox["arnol377-sandbox"].data.github_organization_teams.root_teams[0]: Read complete after 12s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.setup_terraform.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-terraform:gomez385]
module.setup_node.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.setup_terraform.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-terraform:lolli001]
module.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Read complete after 6s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.setup_terraform.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-terraform:morga471]
module.automation-repos.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=automation-repos:gomez385]
module.automation-repos.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=automation-repos:lolli001]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.automation-repos.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=automation-repos:morga471]
module.automation-repos.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=automation-repos:naray007]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 11s [id=549]
module.asset_releases.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-asset-releases:naray007]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 10s [id=603]
module.asset_releases.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-asset-releases:gomez385]
module.asset_releases.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-asset-releases:lolli001]
module.asset_releases.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-asset-releases:morga471]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=windows-image-pipeline:morga471]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=docker-image-pipeline:lolli001]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=docker-image-pipeline:garri325]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-ansible-playbooks:morga471]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-goss-testing:gomez385]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-goss-testing:naray007]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-goss-testing:lolli001]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=windows-image-pipeline:naray007]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=image-pipeline-ansible-playbooks:garri325]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-ansible-playbooks:naray007]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-goss-testing:morga471]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=linux-image-pipeline:lolli001]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=windows-image-pipeline:garri325]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=linux-image-pipeline:morga471]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=docker-image-pipeline:naray007]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=image-pipeline-goss-testing:garri325]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-ansible-playbooks:lolli001]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=linux-image-pipeline:naray007]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=linux-image-pipeline:garri325]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=docker-image-pipeline:gomez385]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-ansible-playbooks:gomez385]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=windows-image-pipeline:gomez385]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=windows-image-pipeline:lolli001]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=linux-image-pipeline:gomez385]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=docker-image-pipeline:morga471]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=image-pipeline-goss-testing/.github/workflows/s3_upload.yaml]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=docker-image-pipeline/.github/workflows/s3_upload.yaml]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=linux-image-pipeline/.github/workflows/s3_upload.yaml]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=image-pipeline-ansible-playbooks/.github/workflows/s3_upload.yaml]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=windows-image-pipeline/.github/workflows/s3_upload.yaml]
module.aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=aws-image-pipeline/.github/workflows/terraform-plan.yaml]
module.aws_image_pipeline.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-image-pipeline:naray007]
module.aws_image_pipeline.github_repository_file.managed_extra_files["terraform-apply.yaml"]: Refreshing state... [id=aws-image-pipeline/.github/workflows/terraform-apply.yaml]
module.aws_image_pipeline.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-image-pipeline:gomez385]
module.aws_image_pipeline.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-image-pipeline:lolli001]
module.aws_image_pipeline.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-image-pipeline:morga471]
module.aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=aws-image-pipeline:terraform_version]
module.setup_node.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-node:lolli001]
module.setup_node.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-node:gomez385]
module.setup_node.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-node:naray007]
module.setup_node.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-node:morga471]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-nodejs:lolli001]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-nodejs:morga471]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-nodejs:naray007]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-nodejs:gomez385]
module.terraform-github-repo.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-github-repo:gomez385]
module.terraform-github-repo.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=terraform-github-repo:lolli001]
module.terraform-github-repo.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-github-repo:morga471]
module.terraform-github-repo.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=terraform-github-repo:naray007]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-java:lolli001]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-java:naray007]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-java:gomez385]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-java:morga471]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-docker:morga471]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-docker:naray007]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-docker:gomez385]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-docker:lolli001]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-php:lolli001]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-php:naray007]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-php:morga471]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-php:gomez385]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-aws-image-pipeline:morga471]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=terraform-aws-image-pipeline:naray007]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=terraform-aws-image-pipeline:lolli001]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-aws-image-pipeline:gomez385]
module.terraform_aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=terraform-aws-image-pipeline:terraform_version]
module.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml]
module.morpheus_repos["morpheus-clouds"].github_repository_collaborator.collaborators["arnol377"]: Refreshing state... [id=morpheus-clouds:arnol377]
module.morpheus_repos["morpheus-clouds"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=morpheus-clouds:gomez385]
module.morpheus_repos["morpheus-clouds"].github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=morpheus-clouds/.github/workflows/terraform-plan.yaml]
module.morpheus_repos["morpheus-clouds"].github_repository_file.managed_extra_files["terraform-apply.yaml"]: Refreshing state... [id=morpheus-clouds/.github/workflows/terraform-apply.yaml]
module.ghe_runners.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=ghe-runners:naray007]
module.ghe_runners.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=ghe-runners:gomez385]
module.ghe_runners.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=ghe-runners:lolli001]
module.ghe_runners.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=ghe-runners:morga471]
module.aws_session_configuration.aws_iam_access_key.access_key: Refreshing state... [id=AKIATK6SR2K25NAT6J63]
module.beanstalk-demo.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=beanstalk-flask-demo:naray007]
module.beanstalk-demo.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=beanstalk-flask-demo:gomez385]
module.beanstalk-demo.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=beanstalk-flask-demo:morga471]
module.beanstalk-demo.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=beanstalk-flask-demo:lolli001]
module.aws_image_pipeline.github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM3]
module.terraform_aws_image_pipeline.github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ1]
module.morpheus_repos["morpheus-clouds"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ4]
module.image_pipeline_repos["docker-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ3]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM5]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM2]
module.image_pipeline_repos["linux-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQy]
module.image_pipeline_repos["windows-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM4]
module.aws_session_configuration.aws_iam_user_policy.policy: Refreshing state... [id=github-actions-s3_upload:github-actions-s3_upload]
module.morpheus_repos["morpheus-clouds"].github_actions_secret.secret["aws_secret_access_key"]: Refreshing state... [id=morpheus-clouds:aws_secret_access_key]
module.morpheus_repos["morpheus-clouds"].github_actions_variable.variable["aws_default_region"]: Refreshing state... [id=morpheus-clouds:aws_default_region]
module.morpheus_repos["morpheus-clouds"].github_actions_variable.variable["aws_access_key_id"]: Refreshing state... [id=morpheus-clouds:aws_access_key_id]

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # module.automation-repos.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"cdf0bb4c3445e59622659396559cf4343b6200aba6e018fa8b379cad92c86cf9\"" -> "W/\"1fa5eda647d550eda1ce22d5bbf58fe7f23199c10a323b19c28897c3b805c368\""
        id                          = "automation-repos"
        name                        = "automation-repos"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
 <= read (data resources)

Terraform will perform the following actions:

  # module.env_var["AWS_ACCESS_KEY_ID"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_ACCESS_KEY_ID"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_ACCESS_KEY_ID"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["AWS_SECRET_ACCESS_KEY"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_SECRET_ACCESS_KEY"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_SECRET_ACCESS_KEY"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["AWS_SESSION_TOKEN"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_SESSION_TOKEN"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_SESSION_TOKEN"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["GITHUB_TOKEN"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "GITHUB_TOKEN"
        }
      + result  = (known after apply)
    }

  # module.env_var["GITHUB_TOKEN"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SECRET_ACCESS_KEY"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "AWS_SECRET_ACCESS_KEY"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SESSION_TOKEN"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "AWS_SESSION_TOKEN"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["GH_TOKEN"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "GH_TOKEN"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_variable.variable["AWS_ACCESS_KEY_ID"] will be created
  + resource "github_actions_variable" "variable" {
      + created_at    = (known after apply)
      + id            = (known after apply)
      + repository    = "arnol377-sandbox"
      + updated_at    = (known after apply)
      + value         = (known after apply)
      + variable_name = "AWS_ACCESS_KEY_ID"
    }

  # module.sandbox["arnol377-sandbox"].github_repository.repo will be created
  + resource "github_repository" "repo" {
      + allow_auto_merge            = false
      + allow_merge_commit          = false
      + allow_rebase_merge          = false
      + allow_squash_merge          = true
      + archive_on_destroy          = true
      + archived                    = false
      + auto_init                   = true
      + default_branch              = (known after apply)
      + delete_branch_on_merge      = true
      + description                 = "Sandbox - arnol377-sandbox"
      + etag                        = (known after apply)
      + full_name                   = (known after apply)
      + git_clone_url               = (known after apply)
      + gitignore_template          = "Terraform"
      + has_issues                  = false
      + has_projects                = true
      + has_wiki                    = true
      + html_url                    = (known after apply)
      + http_clone_url              = (known after apply)
      + id                          = (known after apply)
      + is_template                 = false
      + merge_commit_message        = "PR_TITLE"
      + merge_commit_title          = "MERGE_MESSAGE"
      + name                        = "arnol377-sandbox"
      + node_id                     = (known after apply)
      + primary_language            = (known after apply)
      + private                     = (known after apply)
      + repo_id                     = (known after apply)
      + squash_merge_commit_message = "COMMIT_MESSAGES"
      + squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
      + ssh_clone_url               = (known after apply)
      + svn_url                     = (known after apply)
      + topics                      = [
          + "terraform",
        ]
      + visibility                  = "public"
      + web_commit_signoff_required = false

      + security_and_analysis (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["gomez385"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "gomez385"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["lolli001"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "lolli001"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["morga471"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "morga471"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["naray007"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "naray007"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-apply.yaml"] will be created
  + resource "github_repository_file" "managed_extra_files" {
      + branch              = "main"
      + commit_message      = (known after apply)
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: Terraform Apply
            
            # Controls when the workflow will run
            on:
              # Triggers the workflow on push or pull request events but only for the "main" branch
              push:
                branches: [ "main" ]
              # Allows you to run this workflow manually from the Actions tab
              workflow_dispatch:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
            
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
                      
                  - name: Terraform Format
                    id: fmt
                    
                    run: |
                      terraform fmt -check
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    
                    run: exit 1
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Apply
                    id: apply
                    
                    run: terraform apply -auto-approve
                    continue-on-error: true
        EOT
      + file                = ".github/workflows/terraform-apply.yaml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "arnol377-sandbox"
      + sha                 = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-plan.yaml"] will be created
  + resource "github_repository_file" "managed_extra_files" {
      + branch              = "main"
      + commit_message      = (known after apply)
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
      + file                = ".github/workflows/terraform-plan.yaml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "arnol377-sandbox"
      + sha                 = (known after apply)
    }

  # module.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"] will be updated in-place
  ~ resource "github_repository_file" "managed_extra_files" {
      ~ content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
          -     runs-on: [ aws-image-pipeline ]
          +     runs-on: [ terraform-aws-image-pipeline ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    working-directory: ./examples
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    working-directory: ./examples
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    working-directory: ./examples
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
        id                  = "terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml"
        # (8 unchanged attributes hidden)
    }

Plan: 15 to add, 1 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pusher: @arnol377, Action: pull_request, Workflow: Terraform Plan

@arnol377
Copy link
Collaborator Author

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform_aws_image_pipeline.github_repository.repo: Refreshing state... [id=terraform-aws-image-pipeline]
module.sandbox["arnol377-sandbox"].data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["docker-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.sandbox["arnol377-sandbox"].data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_organization_teams.root_teams[0]: Read complete after 9s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 10s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]
module.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 12s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository.repo: Refreshing state... [id=image-pipeline-goss-testing]
module.image_pipeline_repos["docker-image-pipeline"].data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.image_pipeline_repos["docker-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 13s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository.repo: Refreshing state... [id=image-pipeline-ansible-playbooks]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 15s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["windows-image-pipeline"].github_repository.repo: Refreshing state... [id=windows-image-pipeline]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [20s elapsed]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [20s elapsed]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Still reading... [20s elapsed]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Still reading... [20s elapsed]
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 11s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["linux-image-pipeline"].github_repository.repo: Refreshing state... [id=linux-image-pipeline]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 23s [id=549]
module.image_pipeline_repos["docker-image-pipeline"].github_repository.repo: Refreshing state... [id=docker-image-pipeline]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 23s [id=603]
module.morpheus_repos["morpheus-clouds"].github_repository.repo: Refreshing state... [id=morpheus-clouds]
module.aws_image_pipeline.github_repository.repo: Refreshing state... [id=aws-image-pipeline]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 24s [id=603]
module.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 24s [id=549]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 19s [id=549]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 17s [id=603]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 3s [id=603]
module.beanstalk-demo.github_repository.repo: Refreshing state... [id=beanstalk-flask-demo]
module.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 3s [id=603]
module.setup_terraform.github_repository.repo: Refreshing state... [id=gh-actions-setup-terraform]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 3s [id=549]
module.elastic_beanstalk_docker.github_repository.repo: Refreshing state... [id=aws-beanstalk-docker]
module.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 3s [id=549]
module.setup_terraform.data.github_organization_teams.root_teams[0]: Reading...
module.ghe_runners.github_repository.repo: Refreshing state... [id=ghe-runners]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 3s [id=603]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]
module.elastic_beanstalk.github_repository.repo: Refreshing state... [id=aws-beanstalk]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.beanstalk-demo.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.setup_terraform.data.github_organization_teams.root_teams[0]: Read complete after 1s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.automation-repos.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.beanstalk-demo.data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.setup_node.data.github_organization_teams.root_teams[0]: Reading...
module.automation-repos.data.github_organization_teams.root_teams[0]: Read complete after 9s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.setup_node.data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 16s [id=603]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 16s [id=549]
module.automation-repos.github_repository.repo: Refreshing state... [id=automation-repos]
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 16s [id=603]
module.asset_releases.data.github_organization_teams.root_teams[0]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 16s [id=549]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 19s [id=549]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 16s [id=549]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 16s [id=549]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 15s [id=603]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.asset_releases.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_nodejs.github_repository.repo: Refreshing state... [id=aws-beanstalk-nodejs]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 14s [id=603]
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_java.github_repository.repo: Refreshing state... [id=aws-beanstalk-java]
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 12s [id=603]
module.setup_node.github_repository.repo: Refreshing state... [id=gh-actions-setup-node]
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 12s [id=603]
module.asset_releases.github_repository.repo: Refreshing state... [id=image-pipeline-asset-releases]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 9s [id=549]
module.elastic_beanstalk_php.github_repository.repo: Refreshing state... [id=aws-beanstalk-php]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 9s [id=549]
module.ghe_runners.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.terraform-github-repo.github_repository.repo: Refreshing state... [id=terraform-github-repo]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 12s [id=603]
module.aws_session_configuration.aws_iam_user.user: Refreshing state... [id=github-actions-s3_upload]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 12s [id=549]
module.aws_session_configuration.data.aws_iam_policy_document.admin_policy: Reading...
module.aws_session_configuration.data.aws_iam_policy_document.admin_policy: Read complete after 0s [id=1789900679]
data.aws_region.current: Reading...
data.aws_region.current: Read complete after 0s [id=us-gov-west-1]
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-aws-image-pipeline:gomez385]
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 10s [id=603]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=terraform-aws-image-pipeline:lolli001]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-aws-image-pipeline:morga471]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=terraform-aws-image-pipeline:naray007]
module.terraform_aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=terraform-aws-image-pipeline:terraform_version]
module.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=image-pipeline-ansible-playbooks/.github/workflows/s3_upload.yaml]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=linux-image-pipeline/.github/workflows/s3_upload.yaml]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=windows-image-pipeline/.github/workflows/s3_upload.yaml]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=docker-image-pipeline/.github/workflows/s3_upload.yaml]
module.ghe_runners.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=image-pipeline-goss-testing/.github/workflows/s3_upload.yaml]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=windows-image-pipeline:naray007]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-ansible-playbooks:naray007]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=windows-image-pipeline:garri325]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=docker-image-pipeline:lolli001]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=linux-image-pipeline:naray007]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=linux-image-pipeline:gomez385]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=windows-image-pipeline:lolli001]
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=linux-image-pipeline:lolli001]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=docker-image-pipeline:naray007]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-goss-testing:naray007]
module.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=linux-image-pipeline:garri325]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-ansible-playbooks:lolli001]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=linux-image-pipeline:morga471]
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-goss-testing:lolli001]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=docker-image-pipeline:gomez385]
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 12s [id=603]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-goss-testing:morga471]
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 10s [id=549]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=docker-image-pipeline:morga471]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=docker-image-pipeline:garri325]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-ansible-playbooks:gomez385]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-goss-testing:gomez385]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=windows-image-pipeline:gomez385]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=windows-image-pipeline:morga471]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=image-pipeline-goss-testing:garri325]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=image-pipeline-ansible-playbooks:garri325]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-ansible-playbooks:morga471]
module.morpheus_repos["morpheus-clouds"].github_repository_collaborator.collaborators["arnol377"]: Refreshing state... [id=morpheus-clouds:arnol377]
module.morpheus_repos["morpheus-clouds"].github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=morpheus-clouds/.github/workflows/terraform-plan.yaml]
module.morpheus_repos["morpheus-clouds"].github_repository_file.managed_extra_files["terraform-apply.yaml"]: Refreshing state... [id=morpheus-clouds/.github/workflows/terraform-apply.yaml]
module.morpheus_repos["morpheus-clouds"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=morpheus-clouds:gomez385]
module.aws_image_pipeline.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-image-pipeline:morga471]
module.aws_image_pipeline.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-image-pipeline:lolli001]
module.aws_image_pipeline.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-image-pipeline:naray007]
module.aws_image_pipeline.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-image-pipeline:gomez385]
module.aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=aws-image-pipeline:terraform_version]
module.aws_image_pipeline.github_repository_file.managed_extra_files["terraform-apply.yaml"]: Refreshing state... [id=aws-image-pipeline/.github/workflows/terraform-apply.yaml]
module.aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=aws-image-pipeline/.github/workflows/terraform-plan.yaml]
module.beanstalk-demo.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=beanstalk-flask-demo:naray007]
module.beanstalk-demo.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=beanstalk-flask-demo:gomez385]
module.beanstalk-demo.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=beanstalk-flask-demo:lolli001]
module.beanstalk-demo.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=beanstalk-flask-demo:morga471]
module.setup_terraform.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-terraform:naray007]
module.setup_terraform.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-terraform:gomez385]
module.setup_terraform.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-terraform:lolli001]
module.setup_terraform.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-terraform:morga471]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-docker:morga471]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-docker:naray007]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-docker:gomez385]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-docker:lolli001]
module.ghe_runners.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=ghe-runners:naray007]
module.ghe_runners.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=ghe-runners:gomez385]
module.ghe_runners.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=ghe-runners:lolli001]
module.ghe_runners.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=ghe-runners:morga471]
module.elastic_beanstalk.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk:gomez385]
module.elastic_beanstalk.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk:lolli001]
module.elastic_beanstalk.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk:naray007]
module.elastic_beanstalk.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk:morga471]
module.automation-repos.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=automation-repos:naray007]
module.automation-repos.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=automation-repos:gomez385]
module.automation-repos.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=automation-repos:lolli001]
module.automation-repos.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=automation-repos:morga471]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-nodejs:naray007]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-nodejs:lolli001]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-nodejs:gomez385]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-nodejs:morga471]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-java:lolli001]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-java:morga471]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-java:naray007]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-java:gomez385]
module.setup_node.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-node:lolli001]
module.setup_node.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-node:naray007]
module.setup_node.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-node:morga471]
module.setup_node.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-node:gomez385]
module.asset_releases.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-asset-releases:lolli001]
module.asset_releases.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-asset-releases:gomez385]
module.asset_releases.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-asset-releases:morga471]
module.asset_releases.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-asset-releases:naray007]
module.aws_session_configuration.aws_iam_access_key.access_key: Refreshing state... [id=AKIATK6SR2K25NAT6J63]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-php:morga471]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-php:naray007]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-php:gomez385]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-php:lolli001]
module.terraform_aws_image_pipeline.github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ1]
module.morpheus_repos["morpheus-clouds"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ4]
module.terraform-github-repo.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=terraform-github-repo:naray007]
module.terraform-github-repo.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-github-repo:gomez385]
module.terraform-github-repo.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=terraform-github-repo:lolli001]
module.terraform-github-repo.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-github-repo:morga471]
module.aws_image_pipeline.github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM3]
module.image_pipeline_repos["linux-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQy]
module.image_pipeline_repos["windows-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM4]
module.image_pipeline_repos["docker-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ3]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM5]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM2]
module.aws_session_configuration.aws_iam_user_policy.policy: Refreshing state... [id=github-actions-s3_upload:github-actions-s3_upload]
module.morpheus_repos["morpheus-clouds"].github_actions_secret.secret["aws_secret_access_key"]: Refreshing state... [id=morpheus-clouds:aws_secret_access_key]
module.morpheus_repos["morpheus-clouds"].github_actions_variable.variable["aws_access_key_id"]: Refreshing state... [id=morpheus-clouds:aws_access_key_id]
module.morpheus_repos["morpheus-clouds"].github_actions_variable.variable["aws_default_region"]: Refreshing state... [id=morpheus-clouds:aws_default_region]

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # module.automation-repos.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"cdf0bb4c3445e59622659396559cf4343b6200aba6e018fa8b379cad92c86cf9\"" -> "W/\"1fa5eda647d550eda1ce22d5bbf58fe7f23199c10a323b19c28897c3b805c368\""
        id                          = "automation-repos"
        name                        = "automation-repos"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
 <= read (data resources)

Terraform will perform the following actions:

  # module.env_var["AWS_ACCESS_KEY_ID"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_ACCESS_KEY_ID"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_ACCESS_KEY_ID"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["AWS_SECRET_ACCESS_KEY"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_SECRET_ACCESS_KEY"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_SECRET_ACCESS_KEY"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["AWS_SESSION_TOKEN"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_SESSION_TOKEN"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_SESSION_TOKEN"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["GITHUB_TOKEN"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "GITHUB_TOKEN"
        }
      + result  = (known after apply)
    }

  # module.env_var["GITHUB_TOKEN"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SECRET_ACCESS_KEY"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "AWS_SECRET_ACCESS_KEY"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SESSION_TOKEN"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "AWS_SESSION_TOKEN"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["GH_TOKEN"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "GH_TOKEN"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_variable.variable["AWS_ACCESS_KEY_ID"] will be created
  + resource "github_actions_variable" "variable" {
      + created_at    = (known after apply)
      + id            = (known after apply)
      + repository    = "arnol377-sandbox"
      + updated_at    = (known after apply)
      + value         = (known after apply)
      + variable_name = "AWS_ACCESS_KEY_ID"
    }

  # module.sandbox["arnol377-sandbox"].github_repository.repo will be created
  + resource "github_repository" "repo" {
      + allow_auto_merge            = false
      + allow_merge_commit          = false
      + allow_rebase_merge          = false
      + allow_squash_merge          = true
      + archive_on_destroy          = true
      + archived                    = false
      + auto_init                   = true
      + default_branch              = (known after apply)
      + delete_branch_on_merge      = true
      + description                 = "Sandbox - arnol377-sandbox"
      + etag                        = (known after apply)
      + full_name                   = (known after apply)
      + git_clone_url               = (known after apply)
      + gitignore_template          = "Terraform"
      + has_issues                  = false
      + has_projects                = true
      + has_wiki                    = true
      + html_url                    = (known after apply)
      + http_clone_url              = (known after apply)
      + id                          = (known after apply)
      + is_template                 = false
      + merge_commit_message        = "PR_TITLE"
      + merge_commit_title          = "MERGE_MESSAGE"
      + name                        = "arnol377-sandbox"
      + node_id                     = (known after apply)
      + primary_language            = (known after apply)
      + private                     = (known after apply)
      + repo_id                     = (known after apply)
      + squash_merge_commit_message = "COMMIT_MESSAGES"
      + squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
      + ssh_clone_url               = (known after apply)
      + svn_url                     = (known after apply)
      + topics                      = [
          + "terraform",
        ]
      + visibility                  = "public"
      + web_commit_signoff_required = false

      + security_and_analysis (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["gomez385"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "gomez385"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["lolli001"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "lolli001"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["morga471"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "morga471"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["naray007"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "naray007"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-apply.yaml"] will be created
  + resource "github_repository_file" "managed_extra_files" {
      + branch              = "main"
      + commit_message      = (known after apply)
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: Terraform Apply
            
            # Controls when the workflow will run
            on:
              # Triggers the workflow on push or pull request events but only for the "main" branch
              push:
                branches: [ "main" ]
              # Allows you to run this workflow manually from the Actions tab
              workflow_dispatch:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
            
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
                      
                  - name: Terraform Format
                    id: fmt
                    
                    run: |
                      terraform fmt -check
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    
                    run: exit 1
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Apply
                    id: apply
                    
                    run: terraform apply -auto-approve
                    continue-on-error: true
        EOT
      + file                = ".github/workflows/terraform-apply.yaml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "arnol377-sandbox"
      + sha                 = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-plan.yaml"] will be created
  + resource "github_repository_file" "managed_extra_files" {
      + branch              = "main"
      + commit_message      = (known after apply)
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
      + file                = ".github/workflows/terraform-plan.yaml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "arnol377-sandbox"
      + sha                 = (known after apply)
    }

  # module.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"] will be updated in-place
  ~ resource "github_repository_file" "managed_extra_files" {
      ~ content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
          -     runs-on: [ aws-image-pipeline ]
          +     runs-on: [ terraform-aws-image-pipeline ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    working-directory: ./examples
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    working-directory: ./examples
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    working-directory: ./examples
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
        id                  = "terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml"
        # (8 unchanged attributes hidden)
    }

Plan: 15 to add, 1 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pusher: @arnol377, Action: pull_request, Workflow: Terraform Plan

@arnol377
Copy link
Collaborator Author

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform
�[0m�[1mmodule.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].github_repository.repo: Refreshing state... [id=docker-image-pipeline]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].github_repository.repo: Refreshing state... [id=windows-image-pipeline]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].github_repository.repo: Refreshing state... [id=linux-image-pipeline]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].github_repository.repo: Refreshing state... [id=image-pipeline-goss-testing]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository.repo: Refreshing state... [id=image-pipeline-ansible-playbooks]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 4s [id=603]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 4s [id=603]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 4s [id=549]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 5s [id=549]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 3s [id=549]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_repository.repo: Refreshing state... [id=aws-image-pipeline]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.github_repository.repo: Refreshing state... [id=terraform-aws-image-pipeline]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_repository.repo: Refreshing state... [id=morpheus-clouds]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]�[0m
�[0m�[1mmodule.sandbox["arnol377-sandbox"].data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]�[0m
�[0m�[1mmodule.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.github_repository.repo: Refreshing state... [id=aws-beanstalk-docker]�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 0s [id=603]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]�[0m
�[0m�[1mmodule.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.sandbox["arnol377-sandbox"].data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 3s [id=549]�[0m
�[0m�[1mmodule.automation-repos.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 3s [id=603]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.automation-repos.data.github_organization_teams.root_teams[0]: Read complete after 1s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 6s [id=603]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 6s [id=549]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 6s [id=603]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 5s [id=549]�[0m
�[0m�[1mmodule.setup_node.github_repository.repo: Refreshing state... [id=gh-actions-setup-node]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 4s [id=549]�[0m
�[0m�[1mmodule.ghe_runners.github_repository.repo: Refreshing state... [id=ghe-runners]�[0m
�[0m�[1mmodule.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 4s [id=603]�[0m
�[0m�[1mmodule.elastic_beanstalk.github_repository.repo: Refreshing state... [id=aws-beanstalk]�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.github_repository.repo: Refreshing state... [id=aws-beanstalk-nodejs]�[0m
�[0m�[1mmodule.ghe_runners.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_java.github_repository.repo: Refreshing state... [id=aws-beanstalk-java]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.setup_terraform.github_repository.repo: Refreshing state... [id=gh-actions-setup-terraform]�[0m
�[0m�[1mmodule.ghe_runners.data.github_organization_teams.root_teams[0]: Read complete after 1s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.beanstalk-demo.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.setup_terraform.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_php.github_repository.repo: Refreshing state... [id=aws-beanstalk-php]�[0m
�[0m�[1mmodule.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.beanstalk-demo.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.terraform-github-repo.github_repository.repo: Refreshing state... [id=terraform-github-repo]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 6s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.setup_terraform.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.terraform-github-repo.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.terraform-github-repo.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Read complete after 10s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Read complete after 12s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.automation-repos.github_repository.repo: Refreshing state... [id=automation-repos]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 16s [id=549]�[0m
�[0m�[1mmodule.asset_releases.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 15s [id=603]�[0m
�[0m�[1mmodule.setup_node.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 10s [id=549]�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 8s [id=603]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.asset_releases.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.asset_releases.github_repository.repo: Refreshing state... [id=image-pipeline-asset-releases]�[0m
�[0m�[1mmodule.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.setup_node.data.github_organization_teams.root_teams[0]: Read complete after 6s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 13s [id=549]�[0m
�[0m�[1mmodule.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 12s [id=549]�[0m
�[0m�[1mmodule.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.beanstalk-demo.github_repository.repo: Refreshing state... [id=beanstalk-flask-demo]�[0m
�[0m�[1mmodule.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 14s [id=603]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Reading...�[0m�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 13s [id=603]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Reading...�[0m�[0m
�[0m�[1mdata.aws_region.current: Reading...�[0m�[0m
�[0m�[1mdata.aws_region.current: Read complete after 0s [id=us-gov-west-1]�[0m
�[0m�[1mmodule.aws_session_configuration.data.aws_iam_policy_document.admin_policy: Reading...�[0m�[0m
�[0m�[1mmodule.aws_session_configuration.data.aws_iam_policy_document.admin_policy: Read complete after 0s [id=1789900679]�[0m
�[0m�[1mmodule.aws_session_configuration.aws_iam_user.user: Refreshing state... [id=github-actions-s3_upload]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=docker-image-pipeline:naray007]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=docker-image-pipeline:garri325]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=windows-image-pipeline:morga471]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=windows-image-pipeline:lolli001]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=docker-image-pipeline:morga471]�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=linux-image-pipeline:morga471]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-goss-testing:morga471]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=image-pipeline-ansible-playbooks:garri325]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]�[0m�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=docker-image-pipeline:gomez385]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-ansible-playbooks:morga471]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=windows-image-pipeline:naray007]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=windows-image-pipeline:garri325]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-ansible-playbooks:lolli001]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 13s [id=549]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=linux-image-pipeline:lolli001]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 12s [id=603]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=image-pipeline-goss-testing:garri325]�[0m
�[0m�[1mmodule.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 6s [id=603]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=linux-image-pipeline:naray007]�[0m
�[0m�[1mmodule.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 6s [id=549]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-goss-testing:lolli001]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-goss-testing:gomez385]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 4s [id=549]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=linux-image-pipeline:garri325]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 4s [id=603]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=docker-image-pipeline:lolli001]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=linux-image-pipeline:gomez385]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-ansible-playbooks:gomez385]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-ansible-playbooks:naray007]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=windows-image-pipeline:gomez385]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-goss-testing:naray007]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=windows-image-pipeline/.github/workflows/s3_upload.yaml]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=docker-image-pipeline/.github/workflows/s3_upload.yaml]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=image-pipeline-goss-testing/.github/workflows/s3_upload.yaml]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=linux-image-pipeline/.github/workflows/s3_upload.yaml]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_file.managed_extra_files["s3_upload.yaml"]: Refreshing state... [id=image-pipeline-ansible-playbooks/.github/workflows/s3_upload.yaml]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-image-pipeline:gomez385]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-image-pipeline:lolli001]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-image-pipeline:morga471]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-image-pipeline:naray007]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=aws-image-pipeline:terraform_version]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=aws-image-pipeline/.github/workflows/terraform-plan.yaml]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_repository_file.managed_extra_files["terraform-apply.yaml"]: Refreshing state... [id=aws-image-pipeline/.github/workflows/terraform-apply.yaml]�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-docker:gomez385]�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-docker:lolli001]�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-docker:morga471]�[0m
�[0m�[1mmodule.elastic_beanstalk_docker.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-docker:naray007]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-aws-image-pipeline:morga471]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=terraform-aws-image-pipeline:naray007]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-aws-image-pipeline:gomez385]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=terraform-aws-image-pipeline:lolli001]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=terraform-aws-image-pipeline:terraform_version]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=morpheus-clouds:gomez385]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_repository_collaborator.collaborators["arnol377"]: Refreshing state... [id=morpheus-clouds:arnol377]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_repository_file.managed_extra_files["terraform-apply.yaml"]: Refreshing state... [id=morpheus-clouds/.github/workflows/terraform-apply.yaml]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_repository_file.managed_extra_files["terraform-plan.yaml"]: Refreshing state... [id=morpheus-clouds/.github/workflows/terraform-plan.yaml]�[0m
�[0m�[1mmodule.setup_node.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-node:lolli001]�[0m
�[0m�[1mmodule.setup_node.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-node:naray007]�[0m
�[0m�[1mmodule.setup_node.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-node:morga471]�[0m
�[0m�[1mmodule.setup_node.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-node:gomez385]�[0m
�[0m�[1mmodule.ghe_runners.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=ghe-runners:gomez385]�[0m
�[0m�[1mmodule.ghe_runners.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=ghe-runners:lolli001]�[0m
�[0m�[1mmodule.ghe_runners.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=ghe-runners:morga471]�[0m
�[0m�[1mmodule.ghe_runners.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=ghe-runners:naray007]�[0m
�[0m�[1mmodule.elastic_beanstalk.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk:naray007]�[0m
�[0m�[1mmodule.elastic_beanstalk.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk:gomez385]�[0m
�[0m�[1mmodule.elastic_beanstalk.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk:lolli001]�[0m
�[0m�[1mmodule.elastic_beanstalk.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk:morga471]�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-nodejs:lolli001]�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-nodejs:gomez385]�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-nodejs:naray007]�[0m
�[0m�[1mmodule.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-nodejs:morga471]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-java:morga471]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-java:naray007]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-java:gomez385]�[0m
�[0m�[1mmodule.elastic_beanstalk_java.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-java:lolli001]�[0m
�[0m�[1mmodule.setup_terraform.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-terraform:gomez385]�[0m
�[0m�[1mmodule.setup_terraform.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-terraform:morga471]�[0m
�[0m�[1mmodule.setup_terraform.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-terraform:naray007]�[0m
�[0m�[1mmodule.setup_terraform.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-terraform:lolli001]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-php:morga471]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-php:lolli001]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-php:naray007]�[0m
�[0m�[1mmodule.elastic_beanstalk_php.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-php:gomez385]�[0m
�[0m�[1mmodule.terraform-github-repo.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-github-repo:gomez385]�[0m
�[0m�[1mmodule.terraform-github-repo.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=terraform-github-repo:lolli001]�[0m
�[0m�[1mmodule.terraform-github-repo.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-github-repo:morga471]�[0m
�[0m�[1mmodule.terraform-github-repo.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=terraform-github-repo:naray007]�[0m
�[0m�[1mmodule.automation-repos.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=automation-repos:morga471]�[0m
�[0m�[1mmodule.automation-repos.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=automation-repos:naray007]�[0m
�[0m�[1mmodule.automation-repos.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=automation-repos:lolli001]�[0m
�[0m�[1mmodule.automation-repos.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=automation-repos:gomez385]�[0m
�[0m�[1mmodule.asset_releases.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-asset-releases:morga471]�[0m
�[0m�[1mmodule.asset_releases.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-asset-releases:naray007]�[0m
�[0m�[1mmodule.asset_releases.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-asset-releases:gomez385]�[0m
�[0m�[1mmodule.asset_releases.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-asset-releases:lolli001]�[0m
�[0m�[1mmodule.aws_session_configuration.aws_iam_access_key.access_key: Refreshing state... [id=AKIATK6SR2K25NAT6J63]�[0m
�[0m�[1mmodule.beanstalk-demo.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=beanstalk-flask-demo:morga471]�[0m
�[0m�[1mmodule.beanstalk-demo.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=beanstalk-flask-demo:gomez385]�[0m
�[0m�[1mmodule.beanstalk-demo.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=beanstalk-flask-demo:lolli001]�[0m
�[0m�[1mmodule.beanstalk-demo.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=beanstalk-flask-demo:naray007]�[0m
�[0m�[1mmodule.aws_image_pipeline.github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM3]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ4]�[0m
�[0m�[1mmodule.image_pipeline_repos["docker-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ3]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM5]�[0m
�[0m�[1mmodule.image_pipeline_repos["linux-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQy]�[0m
�[0m�[1mmodule.image_pipeline_repos["windows-image-pipeline"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM4]�[0m
�[0m�[1mmodule.image_pipeline_repos["image-pipeline-goss-testing"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM2]�[0m
�[0m�[1mmodule.terraform_aws_image_pipeline.github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ1]�[0m
�[0m�[1mmodule.aws_session_configuration.aws_iam_user_policy.policy: Refreshing state... [id=github-actions-s3_upload:github-actions-s3_upload]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_actions_variable.variable["aws_access_key_id"]: Refreshing state... [id=morpheus-clouds:aws_access_key_id]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_actions_secret.secret["aws_secret_access_key"]: Refreshing state... [id=morpheus-clouds:aws_secret_access_key]�[0m
�[0m�[1mmodule.morpheus_repos["morpheus-clouds"].github_actions_variable.variable["aws_default_region"]: Refreshing state... [id=morpheus-clouds:aws_default_region]�[0m

�[1m�[36mNote:�[0m�[1m Objects have changed outside of Terraform
�[0m
Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

�[1m  # module.automation-repos.github_repository.repo�[0m has changed
�[0m  �[33m~�[0m�[0m resource "github_repository" "repo" {
      �[33m~�[0m�[0m etag                        = "W/\"cdf0bb4c3445e59622659396559cf4343b6200aba6e018fa8b379cad92c86cf9\"" �[33m->�[0m�[0m "W/\"752ef2e912c6d040bb06b11674e238dc2d501116f0e74696d11d452bc01feec8\""
        id                          = "automation-repos"
        name                        = "automation-repos"
        �[90m# (37 unchanged attributes hidden)�[0m�[0m

        �[90m# (1 unchanged block hidden)�[0m�[0m
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.
�[90m
─────────────────────────────────────────────────────────────────────────────�[0m

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  �[32m+�[0m create�[0m
  �[33m~�[0m update in-place�[0m
 �[36m<=�[0m read (data resources)�[0m

Terraform will perform the following actions:

�[1m  # module.env_var["AWS_ACCESS_KEY_ID"].data.external.var�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "external" "var" {
      �[32m+�[0m�[0m id      = (known after apply)
      �[32m+�[0m�[0m program = [
          �[32m+�[0m�[0m "python",
          �[32m+�[0m�[0m ".terraform/modules/env_var/env-var.py",
        ]
      �[32m+�[0m�[0m query   = {
          �[32m+�[0m�[0m "nonce" = (known after apply)
          �[32m+�[0m�[0m "var"   = "AWS_ACCESS_KEY_ID"
        }
      �[32m+�[0m�[0m result  = (known after apply)
    }

�[1m  # module.env_var["AWS_ACCESS_KEY_ID"].random_string.random�[0m will be created
�[0m  �[32m+�[0m�[0m resource "random_string" "random" {
      �[32m+�[0m�[0m id               = (known after apply)
      �[32m+�[0m�[0m length           = 16
      �[32m+�[0m�[0m lower            = true
      �[32m+�[0m�[0m min_lower        = 0
      �[32m+�[0m�[0m min_numeric      = 0
      �[32m+�[0m�[0m min_special      = 0
      �[32m+�[0m�[0m min_upper        = 0
      �[32m+�[0m�[0m number           = true
      �[32m+�[0m�[0m numeric          = true
      �[32m+�[0m�[0m override_special = "/@£$"
      �[32m+�[0m�[0m result           = (known after apply)
      �[32m+�[0m�[0m special          = true
      �[32m+�[0m�[0m upper            = true
    }

�[1m  # module.env_var["AWS_SECRET_ACCESS_KEY"].data.external.var�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "external" "var" {
      �[32m+�[0m�[0m id      = (known after apply)
      �[32m+�[0m�[0m program = [
          �[32m+�[0m�[0m "python",
          �[32m+�[0m�[0m ".terraform/modules/env_var/env-var.py",
        ]
      �[32m+�[0m�[0m query   = {
          �[32m+�[0m�[0m "nonce" = (known after apply)
          �[32m+�[0m�[0m "var"   = "AWS_SECRET_ACCESS_KEY"
        }
      �[32m+�[0m�[0m result  = (known after apply)
    }

�[1m  # module.env_var["AWS_SECRET_ACCESS_KEY"].random_string.random�[0m will be created
�[0m  �[32m+�[0m�[0m resource "random_string" "random" {
      �[32m+�[0m�[0m id               = (known after apply)
      �[32m+�[0m�[0m length           = 16
      �[32m+�[0m�[0m lower            = true
      �[32m+�[0m�[0m min_lower        = 0
      �[32m+�[0m�[0m min_numeric      = 0
      �[32m+�[0m�[0m min_special      = 0
      �[32m+�[0m�[0m min_upper        = 0
      �[32m+�[0m�[0m number           = true
      �[32m+�[0m�[0m numeric          = true
      �[32m+�[0m�[0m override_special = "/@£$"
      �[32m+�[0m�[0m result           = (known after apply)
      �[32m+�[0m�[0m special          = true
      �[32m+�[0m�[0m upper            = true
    }

�[1m  # module.env_var["AWS_SESSION_TOKEN"].data.external.var�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "external" "var" {
      �[32m+�[0m�[0m id      = (known after apply)
      �[32m+�[0m�[0m program = [
          �[32m+�[0m�[0m "python",
          �[32m+�[0m�[0m ".terraform/modules/env_var/env-var.py",
        ]
      �[32m+�[0m�[0m query   = {
          �[32m+�[0m�[0m "nonce" = (known after apply)
          �[32m+�[0m�[0m "var"   = "AWS_SESSION_TOKEN"
        }
      �[32m+�[0m�[0m result  = (known after apply)
    }

�[1m  # module.env_var["AWS_SESSION_TOKEN"].random_string.random�[0m will be created
�[0m  �[32m+�[0m�[0m resource "random_string" "random" {
      �[32m+�[0m�[0m id               = (known after apply)
      �[32m+�[0m�[0m length           = 16
      �[32m+�[0m�[0m lower            = true
      �[32m+�[0m�[0m min_lower        = 0
      �[32m+�[0m�[0m min_numeric      = 0
      �[32m+�[0m�[0m min_special      = 0
      �[32m+�[0m�[0m min_upper        = 0
      �[32m+�[0m�[0m number           = true
      �[32m+�[0m�[0m numeric          = true
      �[32m+�[0m�[0m override_special = "/@£$"
      �[32m+�[0m�[0m result           = (known after apply)
      �[32m+�[0m�[0m special          = true
      �[32m+�[0m�[0m upper            = true
    }

�[1m  # module.env_var["GITHUB_TOKEN"].data.external.var�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "external" "var" {
      �[32m+�[0m�[0m id      = (known after apply)
      �[32m+�[0m�[0m program = [
          �[32m+�[0m�[0m "python",
          �[32m+�[0m�[0m ".terraform/modules/env_var/env-var.py",
        ]
      �[32m+�[0m�[0m query   = {
          �[32m+�[0m�[0m "nonce" = (known after apply)
          �[32m+�[0m�[0m "var"   = "GITHUB_TOKEN"
        }
      �[32m+�[0m�[0m result  = (known after apply)
    }

�[1m  # module.env_var["GITHUB_TOKEN"].random_string.random�[0m will be created
�[0m  �[32m+�[0m�[0m resource "random_string" "random" {
      �[32m+�[0m�[0m id               = (known after apply)
      �[32m+�[0m�[0m length           = 16
      �[32m+�[0m�[0m lower            = true
      �[32m+�[0m�[0m min_lower        = 0
      �[32m+�[0m�[0m min_numeric      = 0
      �[32m+�[0m�[0m min_special      = 0
      �[32m+�[0m�[0m min_upper        = 0
      �[32m+�[0m�[0m number           = true
      �[32m+�[0m�[0m numeric          = true
      �[32m+�[0m�[0m override_special = "/@£$"
      �[32m+�[0m�[0m result           = (known after apply)
      �[32m+�[0m�[0m special          = true
      �[32m+�[0m�[0m upper            = true
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SECRET_ACCESS_KEY"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_actions_secret" "secret" {
      �[32m+�[0m�[0m created_at      = (known after apply)
      �[32m+�[0m�[0m id              = (known after apply)
      �[32m+�[0m�[0m plaintext_value = (sensitive value)
      �[32m+�[0m�[0m repository      = "arnol377-sandbox"
      �[32m+�[0m�[0m secret_name     = "AWS_SECRET_ACCESS_KEY"
      �[32m+�[0m�[0m updated_at      = (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SESSION_TOKEN"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_actions_secret" "secret" {
      �[32m+�[0m�[0m created_at      = (known after apply)
      �[32m+�[0m�[0m id              = (known after apply)
      �[32m+�[0m�[0m plaintext_value = (sensitive value)
      �[32m+�[0m�[0m repository      = "arnol377-sandbox"
      �[32m+�[0m�[0m secret_name     = "AWS_SESSION_TOKEN"
      �[32m+�[0m�[0m updated_at      = (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["GH_TOKEN"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_actions_secret" "secret" {
      �[32m+�[0m�[0m created_at      = (known after apply)
      �[32m+�[0m�[0m id              = (known after apply)
      �[32m+�[0m�[0m plaintext_value = (sensitive value)
      �[32m+�[0m�[0m repository      = "arnol377-sandbox"
      �[32m+�[0m�[0m secret_name     = "GH_TOKEN"
      �[32m+�[0m�[0m updated_at      = (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_actions_variable.variable["AWS_ACCESS_KEY_ID"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_actions_variable" "variable" {
      �[32m+�[0m�[0m created_at    = (known after apply)
      �[32m+�[0m�[0m id            = (known after apply)
      �[32m+�[0m�[0m repository    = "arnol377-sandbox"
      �[32m+�[0m�[0m updated_at    = (known after apply)
      �[32m+�[0m�[0m value         = (known after apply)
      �[32m+�[0m�[0m variable_name = "AWS_ACCESS_KEY_ID"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository.repo�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository" "repo" {
      �[32m+�[0m�[0m allow_auto_merge            = false
      �[32m+�[0m�[0m allow_merge_commit          = false
      �[32m+�[0m�[0m allow_rebase_merge          = false
      �[32m+�[0m�[0m allow_squash_merge          = true
      �[32m+�[0m�[0m archive_on_destroy          = true
      �[32m+�[0m�[0m archived                    = false
      �[32m+�[0m�[0m auto_init                   = true
      �[32m+�[0m�[0m default_branch              = (known after apply)
      �[32m+�[0m�[0m delete_branch_on_merge      = true
      �[32m+�[0m�[0m description                 = "Sandbox - arnol377-sandbox"
      �[32m+�[0m�[0m etag                        = (known after apply)
      �[32m+�[0m�[0m full_name                   = (known after apply)
      �[32m+�[0m�[0m git_clone_url               = (known after apply)
      �[32m+�[0m�[0m gitignore_template          = "Terraform"
      �[32m+�[0m�[0m has_issues                  = false
      �[32m+�[0m�[0m has_projects                = true
      �[32m+�[0m�[0m has_wiki                    = true
      �[32m+�[0m�[0m html_url                    = (known after apply)
      �[32m+�[0m�[0m http_clone_url              = (known after apply)
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m is_template                 = false
      �[32m+�[0m�[0m merge_commit_message        = "PR_TITLE"
      �[32m+�[0m�[0m merge_commit_title          = "MERGE_MESSAGE"
      �[32m+�[0m�[0m name                        = "arnol377-sandbox"
      �[32m+�[0m�[0m node_id                     = (known after apply)
      �[32m+�[0m�[0m primary_language            = (known after apply)
      �[32m+�[0m�[0m private                     = (known after apply)
      �[32m+�[0m�[0m repo_id                     = (known after apply)
      �[32m+�[0m�[0m squash_merge_commit_message = "COMMIT_MESSAGES"
      �[32m+�[0m�[0m squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
      �[32m+�[0m�[0m ssh_clone_url               = (known after apply)
      �[32m+�[0m�[0m svn_url                     = (known after apply)
      �[32m+�[0m�[0m topics                      = [
          �[32m+�[0m�[0m "terraform",
        ]
      �[32m+�[0m�[0m visibility                  = "public"
      �[32m+�[0m�[0m web_commit_signoff_required = false

      �[32m+�[0m�[0m security_and_analysis (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["gomez385"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_collaborator" "collaborators" {
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m invitation_id               = (known after apply)
      �[32m+�[0m�[0m permission                  = "push"
      �[32m+�[0m�[0m permission_diff_suppression = false
      �[32m+�[0m�[0m repository                  = "arnol377-sandbox"
      �[32m+�[0m�[0m username                    = "gomez385"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["lolli001"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_collaborator" "collaborators" {
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m invitation_id               = (known after apply)
      �[32m+�[0m�[0m permission                  = "push"
      �[32m+�[0m�[0m permission_diff_suppression = false
      �[32m+�[0m�[0m repository                  = "arnol377-sandbox"
      �[32m+�[0m�[0m username                    = "lolli001"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["morga471"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_collaborator" "collaborators" {
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m invitation_id               = (known after apply)
      �[32m+�[0m�[0m permission                  = "push"
      �[32m+�[0m�[0m permission_diff_suppression = false
      �[32m+�[0m�[0m repository                  = "arnol377-sandbox"
      �[32m+�[0m�[0m username                    = "morga471"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["naray007"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_collaborator" "collaborators" {
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m invitation_id               = (known after apply)
      �[32m+�[0m�[0m permission                  = "push"
      �[32m+�[0m�[0m permission_diff_suppression = false
      �[32m+�[0m�[0m repository                  = "arnol377-sandbox"
      �[32m+�[0m�[0m username                    = "naray007"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-apply.yaml"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_file" "managed_extra_files" {
      �[32m+�[0m�[0m branch              = "main"
      �[32m+�[0m�[0m commit_message      = (known after apply)
      �[32m+�[0m�[0m commit_sha          = (known after apply)
      �[32m+�[0m�[0m content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: Terraform Apply
            
            # Controls when the workflow will run
            on:
              # Triggers the workflow on push or pull request events but only for the "main" branch
              push:
                branches: [ "main" ]
              # Allows you to run this workflow manually from the Actions tab
              workflow_dispatch:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
            
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
                      
                  - name: Terraform Format
                    id: fmt
                    
                    run: |
                      terraform fmt -check
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    
                    run: exit 1
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Apply
                    id: apply
                    
                    run: terraform apply -auto-approve
                    continue-on-error: true
        EOT
      �[32m+�[0m�[0m file                = ".github/workflows/terraform-apply.yaml"
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m overwrite_on_create = true
      �[32m+�[0m�[0m ref                 = (known after apply)
      �[32m+�[0m�[0m repository          = "arnol377-sandbox"
      �[32m+�[0m�[0m sha                 = (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-plan.yaml"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_file" "managed_extra_files" {
      �[32m+�[0m�[0m branch              = "main"
      �[32m+�[0m�[0m commit_message      = (known after apply)
      �[32m+�[0m�[0m commit_sha          = (known after apply)
      �[32m+�[0m�[0m content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
      �[32m+�[0m�[0m file                = ".github/workflows/terraform-plan.yaml"
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m overwrite_on_create = true
      �[32m+�[0m�[0m ref                 = (known after apply)
      �[32m+�[0m�[0m repository          = "arnol377-sandbox"
      �[32m+�[0m�[0m sha                 = (known after apply)
    }

�[1m  # module.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"]�[0m will be updated in-place
�[0m  �[33m~�[0m�[0m resource "github_repository_file" "managed_extra_files" {
      �[33m~�[0m�[0m content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
          �[31m-�[0m�[0m     runs-on: [ aws-image-pipeline ]
          �[32m+�[0m�[0m     runs-on: [ terraform-aws-image-pipeline ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    working-directory: ./examples
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    working-directory: ./examples
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    working-directory: ./examples
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
        id                  = "terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml"
        �[90m# (8 unchanged attributes hidden)�[0m�[0m
    }

�[1mPlan:�[0m 15 to add, 1 to change, 0 to destroy.
�[0m�[90m
─────────────────────────────────────────────────────────────────────────────�[0m

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pusher: @arnol377, Action: pull_request, Workflow: Terraform Plan

@arnol377
Copy link
Collaborator Author

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform

�[1m�[36mNote:�[0m�[1m Objects have changed outside of Terraform
�[0m
Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

�[1m  # module.automation-repos.github_repository.repo�[0m has changed
�[0m  �[33m~�[0m�[0m resource "github_repository" "repo" {
      �[33m~�[0m�[0m etag                        = "W/\"cdf0bb4c3445e59622659396559cf4343b6200aba6e018fa8b379cad92c86cf9\"" �[33m->�[0m�[0m "W/\"13e7df7ecec5988efa731f0e915cd179fe4f4bea0ee946c47d3c58979530c3fd\""
        id                          = "automation-repos"
        name                        = "automation-repos"
        �[90m# (37 unchanged attributes hidden)�[0m�[0m

        �[90m# (1 unchanged block hidden)�[0m�[0m
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.
�[90m
─────────────────────────────────────────────────────────────────────────────�[0m

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  �[32m+�[0m create�[0m
  �[33m~�[0m update in-place�[0m
 �[36m<=�[0m read (data resources)�[0m

Terraform will perform the following actions:

�[1m  # module.env_var["AWS_ACCESS_KEY_ID"].data.external.var�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "external" "var" {
      �[32m+�[0m�[0m id      = (known after apply)
      �[32m+�[0m�[0m program = [
          �[32m+�[0m�[0m "python",
          �[32m+�[0m�[0m ".terraform/modules/env_var/env-var.py",
        ]
      �[32m+�[0m�[0m query   = {
          �[32m+�[0m�[0m "nonce" = (known after apply)
          �[32m+�[0m�[0m "var"   = "AWS_ACCESS_KEY_ID"
        }
      �[32m+�[0m�[0m result  = (known after apply)
    }

�[1m  # module.env_var["AWS_ACCESS_KEY_ID"].random_string.random�[0m will be created
�[0m  �[32m+�[0m�[0m resource "random_string" "random" {
      �[32m+�[0m�[0m id               = (known after apply)
      �[32m+�[0m�[0m length           = 16
      �[32m+�[0m�[0m lower            = true
      �[32m+�[0m�[0m min_lower        = 0
      �[32m+�[0m�[0m min_numeric      = 0
      �[32m+�[0m�[0m min_special      = 0
      �[32m+�[0m�[0m min_upper        = 0
      �[32m+�[0m�[0m number           = true
      �[32m+�[0m�[0m numeric          = true
      �[32m+�[0m�[0m override_special = "/@£$"
      �[32m+�[0m�[0m result           = (known after apply)
      �[32m+�[0m�[0m special          = true
      �[32m+�[0m�[0m upper            = true
    }

�[1m  # module.env_var["AWS_SECRET_ACCESS_KEY"].data.external.var�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "external" "var" {
      �[32m+�[0m�[0m id      = (known after apply)
      �[32m+�[0m�[0m program = [
          �[32m+�[0m�[0m "python",
          �[32m+�[0m�[0m ".terraform/modules/env_var/env-var.py",
        ]
      �[32m+�[0m�[0m query   = {
          �[32m+�[0m�[0m "nonce" = (known after apply)
          �[32m+�[0m�[0m "var"   = "AWS_SECRET_ACCESS_KEY"
        }
      �[32m+�[0m�[0m result  = (known after apply)
    }

�[1m  # module.env_var["AWS_SECRET_ACCESS_KEY"].random_string.random�[0m will be created
�[0m  �[32m+�[0m�[0m resource "random_string" "random" {
      �[32m+�[0m�[0m id               = (known after apply)
      �[32m+�[0m�[0m length           = 16
      �[32m+�[0m�[0m lower            = true
      �[32m+�[0m�[0m min_lower        = 0
      �[32m+�[0m�[0m min_numeric      = 0
      �[32m+�[0m�[0m min_special      = 0
      �[32m+�[0m�[0m min_upper        = 0
      �[32m+�[0m�[0m number           = true
      �[32m+�[0m�[0m numeric          = true
      �[32m+�[0m�[0m override_special = "/@£$"
      �[32m+�[0m�[0m result           = (known after apply)
      �[32m+�[0m�[0m special          = true
      �[32m+�[0m�[0m upper            = true
    }

�[1m  # module.env_var["AWS_SESSION_TOKEN"].data.external.var�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "external" "var" {
      �[32m+�[0m�[0m id      = (known after apply)
      �[32m+�[0m�[0m program = [
          �[32m+�[0m�[0m "python",
          �[32m+�[0m�[0m ".terraform/modules/env_var/env-var.py",
        ]
      �[32m+�[0m�[0m query   = {
          �[32m+�[0m�[0m "nonce" = (known after apply)
          �[32m+�[0m�[0m "var"   = "AWS_SESSION_TOKEN"
        }
      �[32m+�[0m�[0m result  = (known after apply)
    }

�[1m  # module.env_var["AWS_SESSION_TOKEN"].random_string.random�[0m will be created
�[0m  �[32m+�[0m�[0m resource "random_string" "random" {
      �[32m+�[0m�[0m id               = (known after apply)
      �[32m+�[0m�[0m length           = 16
      �[32m+�[0m�[0m lower            = true
      �[32m+�[0m�[0m min_lower        = 0
      �[32m+�[0m�[0m min_numeric      = 0
      �[32m+�[0m�[0m min_special      = 0
      �[32m+�[0m�[0m min_upper        = 0
      �[32m+�[0m�[0m number           = true
      �[32m+�[0m�[0m numeric          = true
      �[32m+�[0m�[0m override_special = "/@£$"
      �[32m+�[0m�[0m result           = (known after apply)
      �[32m+�[0m�[0m special          = true
      �[32m+�[0m�[0m upper            = true
    }

�[1m  # module.env_var["GITHUB_TOKEN"].data.external.var�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "external" "var" {
      �[32m+�[0m�[0m id      = (known after apply)
      �[32m+�[0m�[0m program = [
          �[32m+�[0m�[0m "python",
          �[32m+�[0m�[0m ".terraform/modules/env_var/env-var.py",
        ]
      �[32m+�[0m�[0m query   = {
          �[32m+�[0m�[0m "nonce" = (known after apply)
          �[32m+�[0m�[0m "var"   = "GITHUB_TOKEN"
        }
      �[32m+�[0m�[0m result  = (known after apply)
    }

�[1m  # module.env_var["GITHUB_TOKEN"].random_string.random�[0m will be created
�[0m  �[32m+�[0m�[0m resource "random_string" "random" {
      �[32m+�[0m�[0m id               = (known after apply)
      �[32m+�[0m�[0m length           = 16
      �[32m+�[0m�[0m lower            = true
      �[32m+�[0m�[0m min_lower        = 0
      �[32m+�[0m�[0m min_numeric      = 0
      �[32m+�[0m�[0m min_special      = 0
      �[32m+�[0m�[0m min_upper        = 0
      �[32m+�[0m�[0m number           = true
      �[32m+�[0m�[0m numeric          = true
      �[32m+�[0m�[0m override_special = "/@£$"
      �[32m+�[0m�[0m result           = (known after apply)
      �[32m+�[0m�[0m special          = true
      �[32m+�[0m�[0m upper            = true
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SECRET_ACCESS_KEY"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_actions_secret" "secret" {
      �[32m+�[0m�[0m created_at      = (known after apply)
      �[32m+�[0m�[0m id              = (known after apply)
      �[32m+�[0m�[0m plaintext_value = (sensitive value)
      �[32m+�[0m�[0m repository      = "arnol377-sandbox"
      �[32m+�[0m�[0m secret_name     = "AWS_SECRET_ACCESS_KEY"
      �[32m+�[0m�[0m updated_at      = (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SESSION_TOKEN"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_actions_secret" "secret" {
      �[32m+�[0m�[0m created_at      = (known after apply)
      �[32m+�[0m�[0m id              = (known after apply)
      �[32m+�[0m�[0m plaintext_value = (sensitive value)
      �[32m+�[0m�[0m repository      = "arnol377-sandbox"
      �[32m+�[0m�[0m secret_name     = "AWS_SESSION_TOKEN"
      �[32m+�[0m�[0m updated_at      = (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["GH_TOKEN"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_actions_secret" "secret" {
      �[32m+�[0m�[0m created_at      = (known after apply)
      �[32m+�[0m�[0m id              = (known after apply)
      �[32m+�[0m�[0m plaintext_value = (sensitive value)
      �[32m+�[0m�[0m repository      = "arnol377-sandbox"
      �[32m+�[0m�[0m secret_name     = "GH_TOKEN"
      �[32m+�[0m�[0m updated_at      = (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_actions_variable.variable["AWS_ACCESS_KEY_ID"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_actions_variable" "variable" {
      �[32m+�[0m�[0m created_at    = (known after apply)
      �[32m+�[0m�[0m id            = (known after apply)
      �[32m+�[0m�[0m repository    = "arnol377-sandbox"
      �[32m+�[0m�[0m updated_at    = (known after apply)
      �[32m+�[0m�[0m value         = (known after apply)
      �[32m+�[0m�[0m variable_name = "AWS_ACCESS_KEY_ID"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository.repo�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository" "repo" {
      �[32m+�[0m�[0m allow_auto_merge            = false
      �[32m+�[0m�[0m allow_merge_commit          = false
      �[32m+�[0m�[0m allow_rebase_merge          = false
      �[32m+�[0m�[0m allow_squash_merge          = true
      �[32m+�[0m�[0m archive_on_destroy          = true
      �[32m+�[0m�[0m archived                    = false
      �[32m+�[0m�[0m auto_init                   = true
      �[32m+�[0m�[0m default_branch              = (known after apply)
      �[32m+�[0m�[0m delete_branch_on_merge      = true
      �[32m+�[0m�[0m description                 = "Sandbox - arnol377-sandbox"
      �[32m+�[0m�[0m etag                        = (known after apply)
      �[32m+�[0m�[0m full_name                   = (known after apply)
      �[32m+�[0m�[0m git_clone_url               = (known after apply)
      �[32m+�[0m�[0m gitignore_template          = "Terraform"
      �[32m+�[0m�[0m has_issues                  = false
      �[32m+�[0m�[0m has_projects                = true
      �[32m+�[0m�[0m has_wiki                    = true
      �[32m+�[0m�[0m html_url                    = (known after apply)
      �[32m+�[0m�[0m http_clone_url              = (known after apply)
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m is_template                 = false
      �[32m+�[0m�[0m merge_commit_message        = "PR_TITLE"
      �[32m+�[0m�[0m merge_commit_title          = "MERGE_MESSAGE"
      �[32m+�[0m�[0m name                        = "arnol377-sandbox"
      �[32m+�[0m�[0m node_id                     = (known after apply)
      �[32m+�[0m�[0m primary_language            = (known after apply)
      �[32m+�[0m�[0m private                     = (known after apply)
      �[32m+�[0m�[0m repo_id                     = (known after apply)
      �[32m+�[0m�[0m squash_merge_commit_message = "COMMIT_MESSAGES"
      �[32m+�[0m�[0m squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
      �[32m+�[0m�[0m ssh_clone_url               = (known after apply)
      �[32m+�[0m�[0m svn_url                     = (known after apply)
      �[32m+�[0m�[0m topics                      = [
          �[32m+�[0m�[0m "terraform",
        ]
      �[32m+�[0m�[0m visibility                  = "public"
      �[32m+�[0m�[0m web_commit_signoff_required = false

      �[32m+�[0m�[0m security_and_analysis (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["gomez385"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_collaborator" "collaborators" {
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m invitation_id               = (known after apply)
      �[32m+�[0m�[0m permission                  = "push"
      �[32m+�[0m�[0m permission_diff_suppression = false
      �[32m+�[0m�[0m repository                  = "arnol377-sandbox"
      �[32m+�[0m�[0m username                    = "gomez385"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["lolli001"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_collaborator" "collaborators" {
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m invitation_id               = (known after apply)
      �[32m+�[0m�[0m permission                  = "push"
      �[32m+�[0m�[0m permission_diff_suppression = false
      �[32m+�[0m�[0m repository                  = "arnol377-sandbox"
      �[32m+�[0m�[0m username                    = "lolli001"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["morga471"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_collaborator" "collaborators" {
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m invitation_id               = (known after apply)
      �[32m+�[0m�[0m permission                  = "push"
      �[32m+�[0m�[0m permission_diff_suppression = false
      �[32m+�[0m�[0m repository                  = "arnol377-sandbox"
      �[32m+�[0m�[0m username                    = "morga471"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["naray007"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_collaborator" "collaborators" {
      �[32m+�[0m�[0m id                          = (known after apply)
      �[32m+�[0m�[0m invitation_id               = (known after apply)
      �[32m+�[0m�[0m permission                  = "push"
      �[32m+�[0m�[0m permission_diff_suppression = false
      �[32m+�[0m�[0m repository                  = "arnol377-sandbox"
      �[32m+�[0m�[0m username                    = "naray007"
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-apply.yaml"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_file" "managed_extra_files" {
      �[32m+�[0m�[0m branch              = "main"
      �[32m+�[0m�[0m commit_message      = (known after apply)
      �[32m+�[0m�[0m commit_sha          = (known after apply)
      �[32m+�[0m�[0m content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: Terraform Apply
            
            # Controls when the workflow will run
            on:
              # Triggers the workflow on push or pull request events but only for the "main" branch
              push:
                branches: [ "main" ]
              # Allows you to run this workflow manually from the Actions tab
              workflow_dispatch:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
            
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
                      
                  - name: Terraform Format
                    id: fmt
                    
                    run: |
                      terraform fmt -check
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    
                    run: exit 1
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Apply
                    id: apply
                    
                    run: terraform apply -auto-approve
                    continue-on-error: true
        EOT
      �[32m+�[0m�[0m file                = ".github/workflows/terraform-apply.yaml"
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m overwrite_on_create = true
      �[32m+�[0m�[0m ref                 = (known after apply)
      �[32m+�[0m�[0m repository          = "arnol377-sandbox"
      �[32m+�[0m�[0m sha                 = (known after apply)
    }

�[1m  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-plan.yaml"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "github_repository_file" "managed_extra_files" {
      �[32m+�[0m�[0m branch              = "main"
      �[32m+�[0m�[0m commit_message      = (known after apply)
      �[32m+�[0m�[0m commit_sha          = (known after apply)
      �[32m+�[0m�[0m content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
      �[32m+�[0m�[0m file                = ".github/workflows/terraform-plan.yaml"
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m overwrite_on_create = true
      �[32m+�[0m�[0m ref                 = (known after apply)
      �[32m+�[0m�[0m repository          = "arnol377-sandbox"
      �[32m+�[0m�[0m sha                 = (known after apply)
    }

�[1m  # module.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"]�[0m will be updated in-place
�[0m  �[33m~�[0m�[0m resource "github_repository_file" "managed_extra_files" {
      �[33m~�[0m�[0m content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
          �[31m-�[0m�[0m     runs-on: [ aws-image-pipeline ]
          �[32m+�[0m�[0m     runs-on: [ terraform-aws-image-pipeline ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    working-directory: ./examples
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    working-directory: ./examples
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    working-directory: ./examples
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
        id                  = "terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml"
        �[90m# (8 unchanged attributes hidden)�[0m�[0m
    }

�[1mPlan:�[0m 15 to add, 1 to change, 0 to destroy.
�[0m

Pusher: @arnol377, Action: pull_request, Workflow: Terraform Plan

@arnol377
Copy link
Collaborator Author

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # module.automation-repos.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"cdf0bb4c3445e59622659396559cf4343b6200aba6e018fa8b379cad92c86cf9\"" -> "W/\"a61940791e5d9909b9e050c031a40fae1f60b457542bcd4eed9ec8028cc2348b\""
        id                          = "automation-repos"
        name                        = "automation-repos"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
 <= read (data resources)

Terraform will perform the following actions:

  # module.env_var["AWS_ACCESS_KEY_ID"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_ACCESS_KEY_ID"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_ACCESS_KEY_ID"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["AWS_SECRET_ACCESS_KEY"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_SECRET_ACCESS_KEY"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_SECRET_ACCESS_KEY"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["AWS_SESSION_TOKEN"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_SESSION_TOKEN"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_SESSION_TOKEN"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["GITHUB_TOKEN"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "GITHUB_TOKEN"
        }
      + result  = (known after apply)
    }

  # module.env_var["GITHUB_TOKEN"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SECRET_ACCESS_KEY"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "AWS_SECRET_ACCESS_KEY"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SESSION_TOKEN"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "AWS_SESSION_TOKEN"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["GH_TOKEN"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "GH_TOKEN"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_variable.variable["AWS_ACCESS_KEY_ID"] will be created
  + resource "github_actions_variable" "variable" {
      + created_at    = (known after apply)
      + id            = (known after apply)
      + repository    = "arnol377-sandbox"
      + updated_at    = (known after apply)
      + value         = (known after apply)
      + variable_name = "AWS_ACCESS_KEY_ID"
    }

  # module.sandbox["arnol377-sandbox"].github_repository.repo will be created
  + resource "github_repository" "repo" {
      + allow_auto_merge            = false
      + allow_merge_commit          = false
      + allow_rebase_merge          = false
      + allow_squash_merge          = true
      + archive_on_destroy          = true
      + archived                    = false
      + auto_init                   = true
      + default_branch              = (known after apply)
      + delete_branch_on_merge      = true
      + description                 = "Sandbox - arnol377-sandbox"
      + etag                        = (known after apply)
      + full_name                   = (known after apply)
      + git_clone_url               = (known after apply)
      + gitignore_template          = "Terraform"
      + has_issues                  = false
      + has_projects                = true
      + has_wiki                    = true
      + html_url                    = (known after apply)
      + http_clone_url              = (known after apply)
      + id                          = (known after apply)
      + is_template                 = false
      + merge_commit_message        = "PR_TITLE"
      + merge_commit_title          = "MERGE_MESSAGE"
      + name                        = "arnol377-sandbox"
      + node_id                     = (known after apply)
      + primary_language            = (known after apply)
      + private                     = (known after apply)
      + repo_id                     = (known after apply)
      + squash_merge_commit_message = "COMMIT_MESSAGES"
      + squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
      + ssh_clone_url               = (known after apply)
      + svn_url                     = (known after apply)
      + topics                      = [
          + "terraform",
        ]
      + visibility                  = "public"
      + web_commit_signoff_required = false

      + security_and_analysis (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["gomez385"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "gomez385"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["lolli001"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "lolli001"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["morga471"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "morga471"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["naray007"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "naray007"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-apply.yaml"] will be created
  + resource "github_repository_file" "managed_extra_files" {
      + branch              = "main"
      + commit_message      = (known after apply)
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: Terraform Apply
            
            # Controls when the workflow will run
            on:
              # Triggers the workflow on push or pull request events but only for the "main" branch
              push:
                branches: [ "main" ]
              # Allows you to run this workflow manually from the Actions tab
              workflow_dispatch:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
            
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
                      
                  - name: Terraform Format
                    id: fmt
                    
                    run: |
                      terraform fmt -check
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    
                    run: exit 1
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Apply
                    id: apply
                    
                    run: terraform apply -auto-approve
                    continue-on-error: true
        EOT
      + file                = ".github/workflows/terraform-apply.yaml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "arnol377-sandbox"
      + sha                 = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-plan.yaml"] will be created
  + resource "github_repository_file" "managed_extra_files" {
      + branch              = "main"
      + commit_message      = (known after apply)
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
      + file                = ".github/workflows/terraform-plan.yaml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "arnol377-sandbox"
      + sha                 = (known after apply)
    }

  # module.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"] will be updated in-place
  ~ resource "github_repository_file" "managed_extra_files" {
      ~ content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
          -     runs-on: [ aws-image-pipeline ]
          +     runs-on: [ terraform-aws-image-pipeline ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    working-directory: ./examples
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    working-directory: ./examples
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    working-directory: ./examples
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
        id                  = "terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml"
        # (8 unchanged attributes hidden)
    }

Plan: 15 to add, 1 to change, 0 to destroy.

Pusher: @arnol377, Action: pull_request, Workflow: Terraform Plan

@arnol377
Copy link
Collaborator Author

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # module.automation-repos.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"cdf0bb4c3445e59622659396559cf4343b6200aba6e018fa8b379cad92c86cf9\"" -> "W/\"ae0a59e0e34df38e4853ddc067ddb91b29765ab60156879fd1c37aa6d2d3500c\""
        id                          = "automation-repos"
        name                        = "automation-repos"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
 <= read (data resources)

Terraform will perform the following actions:

  # module.env_var["AWS_ACCESS_KEY_ID"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_ACCESS_KEY_ID"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_ACCESS_KEY_ID"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["AWS_SECRET_ACCESS_KEY"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_SECRET_ACCESS_KEY"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_SECRET_ACCESS_KEY"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["AWS_SESSION_TOKEN"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "AWS_SESSION_TOKEN"
        }
      + result  = (known after apply)
    }

  # module.env_var["AWS_SESSION_TOKEN"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.env_var["GITHUB_TOKEN"].data.external.var will be read during apply
  # (config refers to values not yet known)
 <= data "external" "var" {
      + id      = (known after apply)
      + program = [
          + "python",
          + ".terraform/modules/env_var/env-var.py",
        ]
      + query   = {
          + "nonce" = (known after apply)
          + "var"   = "GITHUB_TOKEN"
        }
      + result  = (known after apply)
    }

  # module.env_var["GITHUB_TOKEN"].random_string.random will be created
  + resource "random_string" "random" {
      + id               = (known after apply)
      + length           = 16
      + lower            = true
      + min_lower        = 0
      + min_numeric      = 0
      + min_special      = 0
      + min_upper        = 0
      + number           = true
      + numeric          = true
      + override_special = "/@£$"
      + result           = (known after apply)
      + special          = true
      + upper            = true
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SECRET_ACCESS_KEY"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "AWS_SECRET_ACCESS_KEY"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["AWS_SESSION_TOKEN"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "AWS_SESSION_TOKEN"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_secret.secret["GH_TOKEN"] will be created
  + resource "github_actions_secret" "secret" {
      + created_at      = (known after apply)
      + id              = (known after apply)
      + plaintext_value = (sensitive value)
      + repository      = "arnol377-sandbox"
      + secret_name     = "GH_TOKEN"
      + updated_at      = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_actions_variable.variable["AWS_ACCESS_KEY_ID"] will be created
  + resource "github_actions_variable" "variable" {
      + created_at    = (known after apply)
      + id            = (known after apply)
      + repository    = "arnol377-sandbox"
      + updated_at    = (known after apply)
      + value         = (known after apply)
      + variable_name = "AWS_ACCESS_KEY_ID"
    }

  # module.sandbox["arnol377-sandbox"].github_repository.repo will be created
  + resource "github_repository" "repo" {
      + allow_auto_merge            = false
      + allow_merge_commit          = false
      + allow_rebase_merge          = false
      + allow_squash_merge          = true
      + archive_on_destroy          = true
      + archived                    = false
      + auto_init                   = true
      + default_branch              = (known after apply)
      + delete_branch_on_merge      = true
      + description                 = "Sandbox - arnol377-sandbox"
      + etag                        = (known after apply)
      + full_name                   = (known after apply)
      + git_clone_url               = (known after apply)
      + gitignore_template          = "Terraform"
      + has_issues                  = false
      + has_projects                = true
      + has_wiki                    = true
      + html_url                    = (known after apply)
      + http_clone_url              = (known after apply)
      + id                          = (known after apply)
      + is_template                 = false
      + merge_commit_message        = "PR_TITLE"
      + merge_commit_title          = "MERGE_MESSAGE"
      + name                        = "arnol377-sandbox"
      + node_id                     = (known after apply)
      + primary_language            = (known after apply)
      + private                     = (known after apply)
      + repo_id                     = (known after apply)
      + squash_merge_commit_message = "COMMIT_MESSAGES"
      + squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
      + ssh_clone_url               = (known after apply)
      + svn_url                     = (known after apply)
      + topics                      = [
          + "terraform",
        ]
      + visibility                  = "public"
      + web_commit_signoff_required = false

      + security_and_analysis (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository_collaborator.collaborators["arnol377"] will be created
  + resource "github_repository_collaborator" "collaborators" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "admin"
      + permission_diff_suppression = false
      + repository                  = "arnol377-sandbox"
      + username                    = "arnol377"
    }

  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-apply.yaml"] will be created
  + resource "github_repository_file" "managed_extra_files" {
      + branch              = "main"
      + commit_message      = (known after apply)
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: Terraform Apply
            
            # Controls when the workflow will run
            on:
              # Triggers the workflow on push or pull request events but only for the "main" branch
              push:
                branches: [ "main" ]
              # Allows you to run this workflow manually from the Actions tab
              workflow_dispatch:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
            
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
                      
                  - name: Terraform Format
                    id: fmt
                    
                    run: |
                      terraform fmt -check
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    
                    run: exit 1
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Apply
                    id: apply
                    
                    run: terraform apply -auto-approve
                    continue-on-error: true
        EOT
      + file                = ".github/workflows/terraform-apply.yaml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "arnol377-sandbox"
      + sha                 = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository_file.managed_extra_files["terraform-plan.yaml"] will be created
  + resource "github_repository_file" "managed_extra_files" {
      + branch              = "main"
      + commit_message      = (known after apply)
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
                runs-on: [ arnol377-sandbox ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
      + file                = ".github/workflows/terraform-plan.yaml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "arnol377-sandbox"
      + sha                 = (known after apply)
    }

  # module.terraform_aws_image_pipeline.github_repository_file.managed_extra_files["terraform-plan.yaml"] will be updated in-place
  ~ resource "github_repository_file" "managed_extra_files" {
      ~ content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            
            name: Terraform Plan
            
            
            # Controls when the workflow will run
            on:
              pull_request:
            
            # A workflow run is made up of one or more jobs that can run sequentially or in parallel
            jobs:
              # This workflow contains a single job called "build"
              build:
                # The type of runner that the job will run on
          -     runs-on: [ aws-image-pipeline ]
          +     runs-on: [ terraform-aws-image-pipeline ]
                env:
                  AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
                  AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
                  AWS_SESSION_TOKEN: "${{ secrets.AWS_SESSION_TOKEN }}"
                  
            
                # Steps represent a sequence of tasks that will be executed as part of the job
                steps:
                  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
                  - uses: actions/checkout@v3
                    with:
                      ref: ${{ github.head_ref }}
                      token: ${{ secrets.GH_TOKEN }}
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                      
                  - uses: CSVD/gh-actions-setup-terraform@v2
                    with:
                      terraform_version: ${{ vars.terraform_version }}
            
                  - name: Terraform Format
                    id: fmt
                    run: |
                      terraform fmt
                      if ! git diff-index --quiet HEAD; then 
                        git config --global user.name 'arnol377'
                        git config --global user.email 'david.j.arnold.jr@census.gov'
                        git commit -am "Autoformatting TF Code"
                        git push
                        echo "auto_format=true" >> $GITHUB_ENV 
                      fi
            
                  - name: Autoformat Halt
                    if: env.auto_format == 'true'
                    run: exit 0
            
                  - name: Terraform Init
                    id: init
                    
                    working-directory: ./examples
                    
                    run: terraform init -upgrade
            
                  - name: Terraform Validate
                    id: validate
                    
                    working-directory: ./examples
                    
                    run: terraform validate
            
                  - name: Terraform Plan
                    id: plan
                    
                    working-directory: ./examples
                    
                    run: terraform plan
                    continue-on-error: true
            
                  - name: Update Pull Request
                    uses: CSVD/gh-actions-github-script@v6
                    if: github.event_name == 'pull_request'
                    with:
                      github-token: ${{ secrets.GH_TOKEN }}
                      script: |
                        const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
                        #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
                        #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
                        #### Terraform Plan:
                        ${{ steps.plan.outcome }}
                        *Pushed by: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
            
                        github.rest.issues.createComment({
                          issue_number: context.issue.number,
                          owner: context.repo.owner,
                          repo: context.repo.repo,
                          body: output
                        })
        EOT
        id                  = "terraform-aws-image-pipeline/.github/workflows/terraform-plan.yaml"
        # (8 unchanged attributes hidden)
    }

Plan: 12 to add, 1 to change, 0 to destroy.

Pusher: @arnol377, Action: pull_request, Workflow: Terraform Plan

@arnol377 arnol377 merged commit 064278d into main Aug 20, 2024
1 check passed
@morga471
Copy link
Collaborator

LGTM

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
2 participants