Skip to content

add morph #9

Closed
wants to merge 3 commits into from
Closed

add morph #9

wants to merge 3 commits into from

Conversation

gomez385
Copy link
Collaborator

No description provided.

@arnol377 arnol377 closed this Aug 16, 2024
@arnol377 arnol377 reopened this Aug 16, 2024
@gomez385 gomez385 closed this Aug 16, 2024
@arnol377 arnol377 reopened this Aug 16, 2024
@arnol377
Copy link
Collaborator

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform
Acquiring state lock. This may take a few moments...
module.image_pipeline_repos["linux-image-pipeline"].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["docker-image-pipeline"].github_repository.repo: Refreshing state... [id=docker-image-pipeline]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository.repo: Refreshing state... [id=image-pipeline-goss-testing]
module.image_pipeline_repos["linux-image-pipeline"].github_repository.repo: Refreshing state... [id=linux-image-pipeline]
module.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].github_repository.repo: Refreshing state... [id=windows-image-pipeline]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository.repo: Refreshing state... [id=image-pipeline-ansible-playbooks]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
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["arnol377"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Read complete after 9s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.aws_image_pipeline.github_repository.repo: Refreshing state... [id=aws-image-pipeline]
module.terraform_aws_image_pipeline.github_repository.repo: Refreshing state... [id=terraform-aws-image-pipeline]
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 15s [id=549]
module.morpheus_repos["morpheus-clouds"].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 13s [id=603]
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 11s [id=603]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 10s [id=549]
module.terraform_aws_image_pipeline.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 10s [id=549]
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 9s [id=603]
module.morpheus_repos["morpheus-clouds"].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 7s [id=603]
module.morpheus_repos["morpheus-clouds"].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 6s [id=549]
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.setup_node.data.github_organization_teams.root_teams[0]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.setup_node.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 3s [id=603]
module.elastic_beanstalk_nodejs.github_repository.repo: Refreshing state... [id=aws-beanstalk-nodejs]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]
module.setup_node.github_repository.repo: Refreshing state... [id=gh-actions-setup-node]
module.ghe_runners.github_repository.repo: Refreshing state... [id=ghe-runners]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 2s [id=603]
module.elastic_beanstalk_docker.github_repository.repo: Refreshing state... [id=aws-beanstalk-docker]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 11s [id=549]
module.automation-repos.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 3s [id=549]
module.automation-repos.github_repository.repo: Refreshing state... [id=automation-repos]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 11s [id=603]
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 3s [id=603]
module.elastic_beanstalk_php.github_repository.repo: Refreshing state... [id=aws-beanstalk-php]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 3s [id=549]
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
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"]: Read complete after 11s [id=549]
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 10s [id=603]
module.setup_terraform.github_repository.repo: Refreshing state... [id=gh-actions-setup-terraform]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 10s [id=549]
module.beanstalk-demo.data.github_organization_teams.root_teams[0]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.automation-repos.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 10s [id=603]
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 4s [id=603]
module.asset_releases.github_repository.repo: Refreshing state... [id=image-pipeline-asset-releases]
module.beanstalk-demo.github_repository.repo: Refreshing state... [id=beanstalk-flask-demo]
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Reading...
module.setup_terraform.data.github_organization_teams.root_teams[0]: Reading...
module.beanstalk-demo.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.github_repository.repo: Refreshing state... [id=aws-beanstalk-java]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Read complete after 6s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.terraform-github-repo.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.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.setup_terraform.data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: 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 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Reading...
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 17s [id=549]
module.elastic_beanstalk.github_repository.repo: Refreshing state... [id=aws-beanstalk]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 16s [id=603]
module.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: 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 6s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.ghe_runners.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 19s [id=549]
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 19s [id=603]
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
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-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["garri325"]: Refreshing state... [id=linux-image-pipeline:garri325]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [20s elapsed]
module.ghe_runners.data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-goss-testing:gomez385]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [20s elapsed]
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["morga471"]: Refreshing state... [id=linux-image-pipeline:morga471]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=docker-image-pipeline:lolli001]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 22s [id=549]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=windows-image-pipeline:gomez385]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [20s elapsed]
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["garri325"]: Refreshing state... [id=image-pipeline-goss-testing:garri325]
module.asset_releases.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.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=linux-image-pipeline:gomez385]
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["windows-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=windows-image-pipeline:naray007]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [20s elapsed]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 23s [id=603]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=image-pipeline-ansible-playbooks:garri325]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 23s [id=603]
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_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-goss-testing:lolli001]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=docker-image-pipeline:naray007]
module.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Read complete after 10s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
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["naray007"]: Refreshing state... [id=image-pipeline-ansible-playbooks:naray007]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=linux-image-pipeline:lolli001]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 23s [id=549]
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["windows-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=windows-image-pipeline:garri325]
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 15s [id=549]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-goss-testing:naray007]
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 15s [id=603]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=windows-image-pipeline:lolli001]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=windows-image-pipeline:morga471]
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-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["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_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.aws_image_pipeline.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-image-pipeline: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.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.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_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-aws-image-pipeline: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.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.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-nodejs:lolli001]
module.setup_node.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-node:gomez385]
module.setup_node.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-node:lolli001]
module.setup_node.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-node:morga471]
module.setup_node.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-node:naray007]
module.ghe_runners.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=ghe-runners:lolli001]
module.ghe_runners.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=ghe-runners:naray007]
module.ghe_runners.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=ghe-runners:morga471]
module.ghe_runners.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=ghe-runners:gomez385]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-docker:gomez385]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-docker:naray007]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-docker:morga471]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-docker:lolli001]
module.terraform-github-repo.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=terraform-github-repo:naray007]
module.terraform-github-repo.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=terraform-github-repo:lolli001]
module.terraform-github-repo.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-github-repo:gomez385]
module.terraform-github-repo.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-github-repo:morga471]
module.elastic_beanstalk_php.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-php:lolli001]
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.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.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.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.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.automation-repos.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=automation-repos:naray007]
module.beanstalk-demo.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=beanstalk-flask-demo:morga471]
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.elastic_beanstalk_java.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-java:gomez385]
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.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["morga471"]: Refreshing state... [id=aws-beanstalk:morga471]
module.elastic_beanstalk.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk:naray007]
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.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.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]

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/\"1bfd92c3e7e19c6c52d79f8dcab3504d8f3b80acd897a5fb00981e19579abea5\"" -> "W/\"dee644749e9665855d39a711b7287eb603c85394816529a5cc59f80e6a8491f1\""
        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
  - destroy

Terraform will perform the following actions:

  # module.aws_image_pipeline.github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM3"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_branch_protection.main[0] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_branch_protection" "main" {
      - allows_deletions                = false -> null
      - allows_force_pushes             = false -> null
      - enforce_admins                  = true -> null
      - id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ3" -> null
      - lock_branch                     = false -> null
      - pattern                         = "main" -> null
      - repository_id                   = "MDEwOlJlcG9zaXRvcnkxMDEw" -> null
      - require_conversation_resolution = false -> null
      - require_signed_commits          = false -> null
      - required_linear_history         = false -> null

      - required_pull_request_reviews {
          - dismiss_stale_reviews           = true -> null
          - pull_request_bypassers          = [
              - "MDQ6VXNlcjU0OQ==",
            ] -> null
          - require_code_owner_reviews      = true -> null
          - require_last_push_approval      = false -> null
          - required_approving_review_count = 1 -> null
          - restrict_dismissals             = false -> null
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository.repo will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository" "repo" {
      - allow_auto_merge            = false -> null
      - allow_merge_commit          = false -> null
      - allow_rebase_merge          = false -> null
      - allow_squash_merge          = true -> null
      - allow_update_branch         = false -> null
      - archive_on_destroy          = true -> null
      - archived                    = false -> null
      - auto_init                   = true -> null
      - default_branch              = "main" -> null
      - delete_branch_on_merge      = true -> null
      - description                 = "Template repo for windows image pipelines" -> null
      - etag                        = "W/\"fc969f3f1d3d2fc0009b131491c217f3bf060a684c45c31d2d3a4285fc9224d1\"" -> null
      - full_name                   = "CSVD/docker-image-pipeline" -> null
      - git_clone_url               = "git://github.e.it.census.gov/CSVD/docker-image-pipeline.git" -> null
      - gitignore_template          = "Terraform" -> null
      - has_discussions             = false -> null
      - has_downloads               = false -> null
      - has_issues                  = false -> null
      - has_projects                = true -> null
      - has_wiki                    = true -> null
      - html_url                    = "https://github.e.it.census.gov/CSVD/docker-image-pipeline" -> null
      - http_clone_url              = "https://github.e.it.census.gov/CSVD/docker-image-pipeline.git" -> null
      - id                          = "docker-image-pipeline" -> null
      - is_template                 = false -> null
      - merge_commit_message        = "PR_TITLE" -> null
      - merge_commit_title          = "MERGE_MESSAGE" -> null
      - name                        = "docker-image-pipeline" -> null
      - node_id                     = "MDEwOlJlcG9zaXRvcnkxMDEw" -> null
      - private                     = true -> null
      - repo_id                     = 1010 -> null
      - squash_merge_commit_message = "COMMIT_MESSAGES" -> null
      - squash_merge_commit_title   = "COMMIT_OR_PR_TITLE" -> null
      - ssh_clone_url               = "git@github.e.it.census.gov:CSVD/docker-image-pipeline.git" -> null
      - svn_url                     = "https://github.e.it.census.gov/CSVD/docker-image-pipeline" -> null
      - topics                      = [
          - "terraform",
        ] -> null
      - visibility                  = "private" -> null
      - vulnerability_alerts        = false -> null
      - web_commit_signoff_required = false -> null
        # (2 unchanged attributes hidden)

      - security_and_analysis {
          - advanced_security {
              - status = "disabled" -> null
            }
          - secret_scanning {
              - status = "disabled" -> null
            }
          - secret_scanning_push_protection {
              - status = "disabled" -> null
            }
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["garri325"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:garri325" -> null
      - permission                  = "admin" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "garri325" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["gomez385"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:gomez385" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "gomez385" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["lolli001"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:lolli001" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "lolli001" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["morga471"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:morga471" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "morga471" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["naray007"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:naray007" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "naray007" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_file" "managed_extra_files" {
      - branch              = "main" -> null
      - commit_message      = "Add .github/workflows/s3_upload.yaml" -> null
      - commit_sha          = "9b84f8e531f1780ea310d849e02e956653ba337a" -> null
      - content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: S3 Upload
            
            on:
              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: [ docker-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
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                
                  - run: |
                      zip -r docker-image-pipeline.zip *
                      aws s3 cp docker-image-pipeline.zip s3://image-pipeline-assets
        EOT -> null
      - file                = ".github/workflows/s3_upload.yaml" -> null
      - id                  = "docker-image-pipeline/.github/workflows/s3_upload.yaml" -> null
      - overwrite_on_create = true -> null
      - ref                 = "main" -> null
      - repository          = "docker-image-pipeline" -> null
      - sha                 = "a9ea1fd64175d55d8c94b1567b024030cd2ef2cf" -> null
    }

  # module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM5"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["image-pipeline-goss-testing"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM2"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["linux-image-pipeline"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQy"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["windows-image-pipeline"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM4"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.morpheus_repos["morpheus-clouds"].github_branch_protection.main[0] will be created
  + resource "github_branch_protection" "main" {
      + allows_deletions                = false
      + allows_force_pushes             = false
      + enforce_admins                  = true
      + id                              = (known after apply)
      + lock_branch                     = false
      + pattern                         = "main"
      + repository_id                   = (known after apply)
      + require_conversation_resolution = false
      + require_signed_commits          = false
      + required_linear_history         = false

      + required_pull_request_reviews {
          + dismiss_stale_reviews           = true
          + pull_request_bypassers          = [
              + "MDQ6VXNlcjU0OQ==",
              + "MDQ6VXNlcjYwMw==",
            ]
          + require_code_owner_reviews      = true
          + require_last_push_approval      = false
          + required_approving_review_count = 1
        }
    }

  # module.morpheus_repos["morpheus-clouds"].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                 = "Repo for morpheus cloud"
      + 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                        = "morpheus-clouds"
      + 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                      = [
          + "morpheus",
          + "terraform",
        ]
      + visibility                  = "private"
      + web_commit_signoff_required = false

      + security_and_analysis (known after apply)
    }

  # module.morpheus_repos["morpheus-clouds"].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                  = "morpheus-clouds"
      + username                    = "arnol377"
    }

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

  # module.morpheus_repos["morpheus-clouds"].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: [ morpheus-clouds ]
                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          = "morpheus-clouds"
      + sha                 = (known after apply)
    }

  # module.morpheus_repos["morpheus-clouds"].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: [ morpheus-clouds ]
                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 'gomez385'
                        git config --global user.email 'james.f.gomez@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          = "morpheus-clouds"
      + sha                 = (known after apply)
    }

  # module.terraform_aws_image_pipeline.github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ1"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

Plan: 6 to add, 6 to change, 8 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.
Releasing state lock. This may take a few moments...

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

@arnol377
Copy link
Collaborator

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform
Acquiring state lock. This may take a few moments...
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["gomez385"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].github_repository.repo: Refreshing state... [id=windows-image-pipeline]
module.image_pipeline_repos["docker-image-pipeline"].github_repository.repo: Refreshing state... [id=docker-image-pipeline]
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.terraform_aws_image_pipeline.github_repository.repo: Refreshing state... [id=terraform-aws-image-pipeline]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk.github_repository.repo: Refreshing state... [id=aws-beanstalk]
module.setup_terraform.github_repository.repo: Refreshing state... [id=gh-actions-setup-terraform]
module.elastic_beanstalk_docker.github_repository.repo: Refreshing state... [id=aws-beanstalk-docker]
module.setup_node.github_repository.repo: Refreshing state... [id=gh-actions-setup-node]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Reading...
module.ghe_runners.data.github_organization_teams.root_teams[0]: Reading...
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_php.github_repository.repo: Refreshing state... [id=aws-beanstalk-php]
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 7s [id=603]
module.asset_releases.data.github_organization_teams.root_teams[0]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 7s [id=549]
module.setup_node.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.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 7s [id=603]
module.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 8s [id=549]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 8s [id=549]
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Read complete after 6s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
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"]: Still reading... [10s elapsed]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 11s [id=603]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.asset_releases.data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
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 8s [id=603]
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 6s [id=603]
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 3s [id=549]
module.image_pipeline_repos["linux-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"]: Read complete after 3s [id=549]
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 3s [id=603]
module.automation-repos.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 3s [id=603]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.setup_node.data.github_organization_teams.root_teams[0]: Still reading... [10s elapsed]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 2s [id=549]
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Reading...
module.setup_node.data.github_organization_teams.root_teams[0]: Read complete after 11s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.automation-repos.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
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.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 20s [id=603]
module.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 20s [id=549]
module.elastic_beanstalk_java.github_repository.repo: Refreshing state... [id=aws-beanstalk-java]
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 13s [id=603]
module.setup_terraform.data.github_organization_teams.root_teams[0]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 13s [id=549]
module.beanstalk-demo.github_repository.repo: Refreshing state... [id=beanstalk-flask-demo]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 13s [id=603]
module.terraform-github-repo.github_repository.repo: Refreshing state... [id=terraform-github-repo]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 13s [id=549]
module.beanstalk-demo.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.aws_image_pipeline.github_repository.repo: Refreshing state... [id=aws-image-pipeline]
module.asset_releases.github_repository.repo: Refreshing state... [id=image-pipeline-asset-releases]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Read complete after 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.automation-repos.github_repository.repo: Refreshing state... [id=automation-repos]
module.elastic_beanstalk_nodejs.github_repository.repo: Refreshing state... [id=aws-beanstalk-nodejs]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.setup_terraform.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.ghe_runners.github_repository.repo: Refreshing state... [id=ghe-runners]
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 14s [id=549]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.beanstalk-demo.data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 15s [id=549]
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 12s [id=603]
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].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 1s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].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["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 8s [id=603]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-aws-image-pipeline:gomez385]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 8s [id=549]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=terraform-aws-image-pipeline:lolli001]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 8s [id=603]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-aws-image-pipeline:morga471]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 6s [id=549]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=terraform-aws-image-pipeline:naray007]
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 5s [id=603]
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.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 6s [id=549]
module.terraform_aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=terraform-aws-image-pipeline:terraform_version]
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 6s [id=603]
module.elastic_beanstalk.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk:morga471]
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 5s [id=549]
module.elastic_beanstalk.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk:gomez385]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
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.setup_terraform.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-terraform:lolli001]
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["morga471"]: Refreshing state... [id=gh-actions-setup-terraform:morga471]
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
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["lolli001"]: Refreshing state... [id=aws-beanstalk-docker:lolli001]
module.elastic_beanstalk_docker.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-docker:gomez385]
module.setup_node.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-node:gomez385]
module.setup_node.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-node:lolli001]
module.setup_node.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-node:morga471]
module.setup_node.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-node:naray007]
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.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["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["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-goss-testing"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-goss-testing:naray007]
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-ansible-playbooks"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-ansible-playbooks:naray007]
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["linux-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=linux-image-pipeline:naray007]
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["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["garri325"]: Refreshing state... [id=windows-image-pipeline:garri325]
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["naray007"]: Refreshing state... [id=docker-image-pipeline:naray007]
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["garri325"]: Refreshing state... [id=image-pipeline-ansible-playbooks:garri325]
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-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["garri325"]: Refreshing state... [id=linux-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["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=image-pipeline-goss-testing:garri325]
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-goss-testing"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-goss-testing:gomez385]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=linux-image-pipeline:gomez385]
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["lolli001"]: Refreshing state... [id=docker-image-pipeline:lolli001]
module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=docker-image-pipeline:morga471]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=windows-image-pipeline:lolli001]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-goss-testing: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["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.elastic_beanstalk_php.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-php:morga471]
module.aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=aws-image-pipeline:terraform_version]
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_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-image-pipeline:naray007]
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_file.managed_extra_files["terraform-apply.yaml"]: Refreshing state... [id=aws-image-pipeline/.github/workflows/terraform-apply.yaml]
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["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.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.beanstalk-demo.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=beanstalk-flask-demo:gomez385]
module.beanstalk-demo.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=beanstalk-flask-demo:naray007]
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.asset_releases.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-asset-releases:lolli001]
module.asset_releases.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-asset-releases:naray007]
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.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.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.ghe_runners.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=ghe-runners:lolli001]
module.ghe_runners.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=ghe-runners:gomez385]
module.ghe_runners.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=ghe-runners:morga471]
module.ghe_runners.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=ghe-runners:naray007]
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.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.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.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM5]
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-goss-testing"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM2]

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/\"1bfd92c3e7e19c6c52d79f8dcab3504d8f3b80acd897a5fb00981e19579abea5\"" -> "W/\"5a062fae5d5196a5b611541ecd6f03c51206ff3e11a94d7099c9b71da52250a7\""
        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
  - destroy

Terraform will perform the following actions:

  # module.aws_image_pipeline.github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM3"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_branch_protection.main[0] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_branch_protection" "main" {
      - allows_deletions                = false -> null
      - allows_force_pushes             = false -> null
      - enforce_admins                  = true -> null
      - id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ3" -> null
      - lock_branch                     = false -> null
      - pattern                         = "main" -> null
      - repository_id                   = "MDEwOlJlcG9zaXRvcnkxMDEw" -> null
      - require_conversation_resolution = false -> null
      - require_signed_commits          = false -> null
      - required_linear_history         = false -> null

      - required_pull_request_reviews {
          - dismiss_stale_reviews           = true -> null
          - pull_request_bypassers          = [
              - "MDQ6VXNlcjU0OQ==",
            ] -> null
          - require_code_owner_reviews      = true -> null
          - require_last_push_approval      = false -> null
          - required_approving_review_count = 1 -> null
          - restrict_dismissals             = false -> null
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository.repo will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository" "repo" {
      - allow_auto_merge            = false -> null
      - allow_merge_commit          = false -> null
      - allow_rebase_merge          = false -> null
      - allow_squash_merge          = true -> null
      - allow_update_branch         = false -> null
      - archive_on_destroy          = true -> null
      - archived                    = false -> null
      - auto_init                   = true -> null
      - default_branch              = "main" -> null
      - delete_branch_on_merge      = true -> null
      - description                 = "Template repo for windows image pipelines" -> null
      - etag                        = "W/\"fc969f3f1d3d2fc0009b131491c217f3bf060a684c45c31d2d3a4285fc9224d1\"" -> null
      - full_name                   = "CSVD/docker-image-pipeline" -> null
      - git_clone_url               = "git://github.e.it.census.gov/CSVD/docker-image-pipeline.git" -> null
      - gitignore_template          = "Terraform" -> null
      - has_discussions             = false -> null
      - has_downloads               = false -> null
      - has_issues                  = false -> null
      - has_projects                = true -> null
      - has_wiki                    = true -> null
      - html_url                    = "https://github.e.it.census.gov/CSVD/docker-image-pipeline" -> null
      - http_clone_url              = "https://github.e.it.census.gov/CSVD/docker-image-pipeline.git" -> null
      - id                          = "docker-image-pipeline" -> null
      - is_template                 = false -> null
      - merge_commit_message        = "PR_TITLE" -> null
      - merge_commit_title          = "MERGE_MESSAGE" -> null
      - name                        = "docker-image-pipeline" -> null
      - node_id                     = "MDEwOlJlcG9zaXRvcnkxMDEw" -> null
      - private                     = true -> null
      - repo_id                     = 1010 -> null
      - squash_merge_commit_message = "COMMIT_MESSAGES" -> null
      - squash_merge_commit_title   = "COMMIT_OR_PR_TITLE" -> null
      - ssh_clone_url               = "git@github.e.it.census.gov:CSVD/docker-image-pipeline.git" -> null
      - svn_url                     = "https://github.e.it.census.gov/CSVD/docker-image-pipeline" -> null
      - topics                      = [
          - "terraform",
        ] -> null
      - visibility                  = "private" -> null
      - vulnerability_alerts        = false -> null
      - web_commit_signoff_required = false -> null
        # (2 unchanged attributes hidden)

      - security_and_analysis {
          - advanced_security {
              - status = "disabled" -> null
            }
          - secret_scanning {
              - status = "disabled" -> null
            }
          - secret_scanning_push_protection {
              - status = "disabled" -> null
            }
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["garri325"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:garri325" -> null
      - permission                  = "admin" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "garri325" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["gomez385"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:gomez385" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "gomez385" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["lolli001"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:lolli001" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "lolli001" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["morga471"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:morga471" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "morga471" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["naray007"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:naray007" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "naray007" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_file" "managed_extra_files" {
      - branch              = "main" -> null
      - commit_message      = "Add .github/workflows/s3_upload.yaml" -> null
      - commit_sha          = "9b84f8e531f1780ea310d849e02e956653ba337a" -> null
      - content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: S3 Upload
            
            on:
              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: [ docker-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
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                
                  - run: |
                      zip -r docker-image-pipeline.zip *
                      aws s3 cp docker-image-pipeline.zip s3://image-pipeline-assets
        EOT -> null
      - file                = ".github/workflows/s3_upload.yaml" -> null
      - id                  = "docker-image-pipeline/.github/workflows/s3_upload.yaml" -> null
      - overwrite_on_create = true -> null
      - ref                 = "main" -> null
      - repository          = "docker-image-pipeline" -> null
      - sha                 = "a9ea1fd64175d55d8c94b1567b024030cd2ef2cf" -> null
    }

  # module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM5"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["image-pipeline-goss-testing"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM2"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["linux-image-pipeline"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQy"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["windows-image-pipeline"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM4"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.morpheus_repos["morpheus-clouds"].github_branch_protection.main[0] will be created
  + resource "github_branch_protection" "main" {
      + allows_deletions                = false
      + allows_force_pushes             = false
      + enforce_admins                  = true
      + id                              = (known after apply)
      + lock_branch                     = false
      + pattern                         = "main"
      + repository_id                   = (known after apply)
      + require_conversation_resolution = false
      + require_signed_commits          = false
      + required_linear_history         = false

      + required_pull_request_reviews {
          + dismiss_stale_reviews           = true
          + pull_request_bypassers          = [
              + "MDQ6VXNlcjU0OQ==",
              + "MDQ6VXNlcjYwMw==",
            ]
          + require_code_owner_reviews      = true
          + require_last_push_approval      = false
          + required_approving_review_count = 1
        }
    }

  # module.morpheus_repos["morpheus-clouds"].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                 = "Repo for morpheus cloud"
      + 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                        = "morpheus-clouds"
      + 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                      = [
          + "morpheus",
          + "terraform",
        ]
      + visibility                  = "private"
      + web_commit_signoff_required = false

      + security_and_analysis (known after apply)
    }

  # module.morpheus_repos["morpheus-clouds"].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                  = "morpheus-clouds"
      + username                    = "arnol377"
    }

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

  # module.morpheus_repos["morpheus-clouds"].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: [ morpheus-clouds ]
                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          = "morpheus-clouds"
      + sha                 = (known after apply)
    }

  # module.morpheus_repos["morpheus-clouds"].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: [ morpheus-clouds ]
                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 'gomez385'
                        git config --global user.email 'james.f.gomez@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          = "morpheus-clouds"
      + sha                 = (known after apply)
    }

  # module.terraform_aws_image_pipeline.github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ1"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

Plan: 6 to add, 6 to change, 8 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

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform
Acquiring state lock. This may take a few moments...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Reading...
module.setup_terraform.github_repository.repo: Refreshing state... [id=gh-actions-setup-terraform]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.automation-repos.github_repository.repo: Refreshing state... [id=automation-repos]
module.asset_releases.github_repository.repo: Refreshing state... [id=image-pipeline-asset-releases]
module.elastic_beanstalk_java.github_repository.repo: Refreshing state... [id=aws-beanstalk-java]
module.ghe_runners.github_repository.repo: Refreshing state... [id=ghe-runners]
module.terraform-github-repo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform_aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 1s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_java.data.github_organization_teams.root_teams[0]: Read complete after 1s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.aws_image_pipeline.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 5s [id=549]
module.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_nodejs.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_php.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.elastic_beanstalk_docker.data.github_organization_teams.root_teams[0]: Reading...
module.aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 7s [id=603]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 6s [id=549]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.morpheus_repos["morpheus-clouds"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 6s [id=603]
module.terraform_aws_image_pipeline.github_repository.repo: Refreshing state... [id=terraform-aws-image-pipeline]
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 5s [id=549]
module.image_pipeline_repos["linux-image-pipeline"].data.github_organization_teams.root_teams[0]: Reading...
module.terraform_aws_image_pipeline.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 4s [id=603]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].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.elastic_beanstalk.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["windows-image-pipeline"].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 2s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.morpheus_repos["morpheus-clouds"].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.terraform-github-repo.data.github_organization_teams.root_teams[0]: Reading...
module.terraform-github-repo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 9s [id=603]
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: 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.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.setup_node.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 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.terraform-github-repo.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_organization_teams.root_teams[0]: Read complete after 8s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.beanstalk-demo.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.setup_node.data.github_organization_teams.root_teams[0]: Read complete after 6s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_repository.repo: Refreshing state... [id=image-pipeline-ansible-playbooks]
module.morpheus_repos["morpheus-clouds"].data.github_organization_teams.root_teams[0]: Read complete after 9s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.image_pipeline_repos["image-pipeline-goss-testing"].github_repository.repo: Refreshing state... [id=image-pipeline-goss-testing]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 13s [id=549]
module.image_pipeline_repos["windows-image-pipeline"].github_repository.repo: Refreshing state... [id=windows-image-pipeline]
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Still reading... [10s elapsed]
module.image_pipeline_repos["docker-image-pipeline"].github_repository.repo: Refreshing state... [id=docker-image-pipeline]
module.elastic_beanstalk_php.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.beanstalk-demo.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.terraform-github-repo.github_repository.repo: Refreshing state... [id=terraform-github-repo]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Still reading... [10s elapsed]
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_nodejs.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 15s [id=603]
module.elastic_beanstalk_nodejs.github_repository.repo: Refreshing state... [id=aws-beanstalk-nodejs]
module.elastic_beanstalk_php.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 15s [id=603]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 13s [id=549]
module.elastic_beanstalk.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.asset_releases.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 12s [id=603]
module.asset_releases.data.github_organization_teams.root_teams[0]: Reading...
module.beanstalk-demo.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.elastic_beanstalk_php.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.beanstalk-demo.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 13s [id=603]
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.beanstalk-demo.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 12s [id=549]
module.setup_node.github_repository.repo: Refreshing state... [id=gh-actions-setup-node]
module.asset_releases.data.github_organization_teams.root_teams[0]: Read complete after 5s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.aws_image_pipeline.github_repository.repo: Refreshing state... [id=aws-image-pipeline]
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["linux-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 0s [id=603]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 1s [id=603]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 0s [id=549]
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["arnol377"]: Read complete after 1s [id=549]
module.image_pipeline_repos["image-pipeline-goss-testing"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
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["gomez385"]: Read complete after 1s [id=603]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Reading...
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 10s [id=549]
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Reading...
module.elastic_beanstalk_java.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 10s [id=603]
module.beanstalk-demo.github_repository.repo: Refreshing state... [id=beanstalk-flask-demo]
module.elastic_beanstalk.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.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.automation-repos.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.setup_terraform.data.github_organization_teams.root_teams[0]: Reading...
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 8s [id=549]
module.elastic_beanstalk_docker.github_repository.repo: Refreshing state... [id=aws-beanstalk-docker]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].data.github_user.pull_request_bypassers["arnol377"]: Read complete after 1s [id=549]
module.elastic_beanstalk.github_repository.repo: Refreshing state... [id=aws-beanstalk]
module.elastic_beanstalk_docker.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 7s [id=603]
module.ghe_runners.data.github_organization_teams.root_teams[0]: Reading...
module.image_pipeline_repos["windows-image-pipeline"].data.github_user.pull_request_bypassers["gomez385"]: Read complete after 1s [id=603]
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.automation-repos.data.github_user.pull_request_bypassers["arnol377"]: Read complete after 6s [id=549]
module.setup_terraform.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-terraform:morga471]
module.setup_terraform.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-terraform:naray007]
module.automation-repos.data.github_organization_teams.root_teams[0]: Read complete after 3s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.asset_releases.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-asset-releases:lolli001]
module.automation-repos.data.github_user.pull_request_bypassers["gomez385"]: Read complete after 9s [id=603]
module.asset_releases.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=image-pipeline-asset-releases:naray007]
module.setup_terraform.data.github_organization_teams.root_teams[0]: Read complete after 4s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.asset_releases.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=image-pipeline-asset-releases:morga471]
module.asset_releases.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=image-pipeline-asset-releases:gomez385]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-java:morga471]
module.ghe_runners.data.github_organization_teams.root_teams[0]: Read complete after 7s [id=MDEyOk9yZ2FuaXphdGlvbjM1]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-java:gomez385]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-java:naray007]
module.elastic_beanstalk_java.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-java:lolli001]
module.ghe_runners.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=ghe-runners:morga471]
module.ghe_runners.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=ghe-runners:gomez385]
module.ghe_runners.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=ghe-runners:naray007]
module.ghe_runners.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=ghe-runners:lolli001]
module.automation-repos.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=automation-repos:gomez385]
module.automation-repos.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=automation-repos:morga471]
module.automation-repos.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=automation-repos:lolli001]
module.automation-repos.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=automation-repos:naray007]
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.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_collaborator.collaborators["gomez385"]: Refreshing state... [id=terraform-aws-image-pipeline:gomez385]
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["naray007"]: Refreshing state... [id=terraform-aws-image-pipeline:naray007]
module.terraform_aws_image_pipeline.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=terraform-aws-image-pipeline:morga471]
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["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["gomez385"]: Refreshing state... [id=docker-image-pipeline:gomez385]
module.image_pipeline_repos["linux-image-pipeline"].github_repository_collaborator.collaborators["garri325"]: Refreshing state... [id=linux-image-pipeline:garri325]
module.image_pipeline_repos["windows-image-pipeline"].github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=windows-image-pipeline:gomez385]
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["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["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["windows-image-pipeline"].github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=windows-image-pipeline:naray007]
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["naray007"]: Refreshing state... [id=linux-image-pipeline:naray007]
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["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["naray007"]: Refreshing state... [id=image-pipeline-ansible-playbooks: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.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=docker-image-pipeline:lolli001]
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["image-pipeline-ansible-playbooks"].github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=image-pipeline-ansible-playbooks:lolli001]
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-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["gomez385"]: Refreshing state... [id=image-pipeline-ansible-playbooks:gomez385]
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["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.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.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_nodejs.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk-nodejs:gomez385]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=aws-beanstalk-nodejs:lolli001]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=aws-beanstalk-nodejs:naray007]
module.elastic_beanstalk_nodejs.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk-nodejs:morga471]
module.aws_image_pipeline.github_actions_variable.variable["terraform_version"]: Refreshing state... [id=aws-image-pipeline:terraform_version]
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_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-image-pipeline:gomez385]
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-plan.yaml"]: Refreshing state... [id=aws-image-pipeline/.github/workflows/terraform-plan.yaml]
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.setup_node.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=gh-actions-setup-node:gomez385]
module.setup_node.github_repository_collaborator.collaborators["lolli001"]: Refreshing state... [id=gh-actions-setup-node:lolli001]
module.setup_node.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=gh-actions-setup-node:morga471]
module.setup_node.github_repository_collaborator.collaborators["naray007"]: Refreshing state... [id=gh-actions-setup-node:naray007]
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.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.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.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.github_repository_collaborator.collaborators["gomez385"]: Refreshing state... [id=aws-beanstalk:gomez385]
module.elastic_beanstalk.github_repository_collaborator.collaborators["morga471"]: Refreshing state... [id=aws-beanstalk:morga471]
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.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.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-goss-testing"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM2]
module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_branch_protection.main[0]: Refreshing state... [id=MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM5]

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/\"1bfd92c3e7e19c6c52d79f8dcab3504d8f3b80acd897a5fb00981e19579abea5\"" -> "W/\"5a062fae5d5196a5b611541ecd6f03c51206ff3e11a94d7099c9b71da52250a7\""
        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
  - destroy

Terraform will perform the following actions:

  # module.aws_image_pipeline.github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM3"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_branch_protection.main[0] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_branch_protection" "main" {
      - allows_deletions                = false -> null
      - allows_force_pushes             = false -> null
      - enforce_admins                  = true -> null
      - id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ3" -> null
      - lock_branch                     = false -> null
      - pattern                         = "main" -> null
      - repository_id                   = "MDEwOlJlcG9zaXRvcnkxMDEw" -> null
      - require_conversation_resolution = false -> null
      - require_signed_commits          = false -> null
      - required_linear_history         = false -> null

      - required_pull_request_reviews {
          - dismiss_stale_reviews           = true -> null
          - pull_request_bypassers          = [
              - "MDQ6VXNlcjU0OQ==",
            ] -> null
          - require_code_owner_reviews      = true -> null
          - require_last_push_approval      = false -> null
          - required_approving_review_count = 1 -> null
          - restrict_dismissals             = false -> null
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository.repo will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository" "repo" {
      - allow_auto_merge            = false -> null
      - allow_merge_commit          = false -> null
      - allow_rebase_merge          = false -> null
      - allow_squash_merge          = true -> null
      - allow_update_branch         = false -> null
      - archive_on_destroy          = true -> null
      - archived                    = false -> null
      - auto_init                   = true -> null
      - default_branch              = "main" -> null
      - delete_branch_on_merge      = true -> null
      - description                 = "Template repo for windows image pipelines" -> null
      - etag                        = "W/\"fc969f3f1d3d2fc0009b131491c217f3bf060a684c45c31d2d3a4285fc9224d1\"" -> null
      - full_name                   = "CSVD/docker-image-pipeline" -> null
      - git_clone_url               = "git://github.e.it.census.gov/CSVD/docker-image-pipeline.git" -> null
      - gitignore_template          = "Terraform" -> null
      - has_discussions             = false -> null
      - has_downloads               = false -> null
      - has_issues                  = false -> null
      - has_projects                = true -> null
      - has_wiki                    = true -> null
      - html_url                    = "https://github.e.it.census.gov/CSVD/docker-image-pipeline" -> null
      - http_clone_url              = "https://github.e.it.census.gov/CSVD/docker-image-pipeline.git" -> null
      - id                          = "docker-image-pipeline" -> null
      - is_template                 = false -> null
      - merge_commit_message        = "PR_TITLE" -> null
      - merge_commit_title          = "MERGE_MESSAGE" -> null
      - name                        = "docker-image-pipeline" -> null
      - node_id                     = "MDEwOlJlcG9zaXRvcnkxMDEw" -> null
      - private                     = true -> null
      - repo_id                     = 1010 -> null
      - squash_merge_commit_message = "COMMIT_MESSAGES" -> null
      - squash_merge_commit_title   = "COMMIT_OR_PR_TITLE" -> null
      - ssh_clone_url               = "git@github.e.it.census.gov:CSVD/docker-image-pipeline.git" -> null
      - svn_url                     = "https://github.e.it.census.gov/CSVD/docker-image-pipeline" -> null
      - topics                      = [
          - "terraform",
        ] -> null
      - visibility                  = "private" -> null
      - vulnerability_alerts        = false -> null
      - web_commit_signoff_required = false -> null
        # (2 unchanged attributes hidden)

      - security_and_analysis {
          - advanced_security {
              - status = "disabled" -> null
            }
          - secret_scanning {
              - status = "disabled" -> null
            }
          - secret_scanning_push_protection {
              - status = "disabled" -> null
            }
        }
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["garri325"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:garri325" -> null
      - permission                  = "admin" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "garri325" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["gomez385"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:gomez385" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "gomez385" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["lolli001"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:lolli001" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "lolli001" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["morga471"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:morga471" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "morga471" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_collaborator.collaborators["naray007"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_collaborator" "collaborators" {
      - id                          = "docker-image-pipeline:naray007" -> null
      - permission                  = "push" -> null
      - permission_diff_suppression = false -> null
      - repository                  = "docker-image-pipeline" -> null
      - username                    = "naray007" -> null
    }

  # module.image_pipeline_repos["docker-image-pipeline"].github_repository_file.managed_extra_files["s3_upload.yaml"] will be destroyed
  # (because module.image_pipeline_repos["docker-image-pipeline"] is not in configuration)
  - resource "github_repository_file" "managed_extra_files" {
      - branch              = "main" -> null
      - commit_message      = "Add .github/workflows/s3_upload.yaml" -> null
      - commit_sha          = "9b84f8e531f1780ea310d849e02e956653ba337a" -> null
      - content             = <<-EOT
            # This is a basic workflow to help you get started with Actions
            name: S3 Upload
            
            on:
              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: [ docker-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
            
                  - uses: CSVD/gh-actions-setup-node@v3
                    with:
                       node-version: 16
                
                  - run: |
                      zip -r docker-image-pipeline.zip *
                      aws s3 cp docker-image-pipeline.zip s3://image-pipeline-assets
        EOT -> null
      - file                = ".github/workflows/s3_upload.yaml" -> null
      - id                  = "docker-image-pipeline/.github/workflows/s3_upload.yaml" -> null
      - overwrite_on_create = true -> null
      - ref                 = "main" -> null
      - repository          = "docker-image-pipeline" -> null
      - sha                 = "a9ea1fd64175d55d8c94b1567b024030cd2ef2cf" -> null
    }

  # module.image_pipeline_repos["image-pipeline-ansible-playbooks"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM5"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["image-pipeline-goss-testing"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM2"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["linux-image-pipeline"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQy"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.image_pipeline_repos["windows-image-pipeline"].github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzM4"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

  # module.morpheus_repos["morpheus-clouds"].github_branch_protection.main[0] will be created
  + resource "github_branch_protection" "main" {
      + allows_deletions                = false
      + allows_force_pushes             = false
      + enforce_admins                  = true
      + id                              = (known after apply)
      + lock_branch                     = false
      + pattern                         = "main"
      + repository_id                   = (known after apply)
      + require_conversation_resolution = false
      + require_signed_commits          = false
      + required_linear_history         = false

      + required_pull_request_reviews {
          + dismiss_stale_reviews           = true
          + pull_request_bypassers          = [
              + "MDQ6VXNlcjU0OQ==",
              + "MDQ6VXNlcjYwMw==",
            ]
          + require_code_owner_reviews      = true
          + require_last_push_approval      = false
          + required_approving_review_count = 1
        }
    }

  # module.morpheus_repos["morpheus-clouds"].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                 = "Repo for morpheus cloud"
      + 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                        = "morpheus-clouds"
      + 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                      = [
          + "morpheus",
          + "terraform",
        ]
      + visibility                  = "private"
      + web_commit_signoff_required = false

      + security_and_analysis (known after apply)
    }

  # module.morpheus_repos["morpheus-clouds"].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                  = "morpheus-clouds"
      + username                    = "arnol377"
    }

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

  # module.morpheus_repos["morpheus-clouds"].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: [ morpheus-clouds ]
                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          = "morpheus-clouds"
      + sha                 = (known after apply)
    }

  # module.morpheus_repos["morpheus-clouds"].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: [ morpheus-clouds ]
                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 'gomez385'
                        git config --global user.email 'james.f.gomez@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          = "morpheus-clouds"
      + sha                 = (known after apply)
    }

  # module.terraform_aws_image_pipeline.github_branch_protection.main[0] will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMzQ1"
        # (10 unchanged attributes hidden)

      ~ required_pull_request_reviews {
          ~ pull_request_bypassers          = [
              + "MDQ6VXNlcjYwMw==",
                # (1 unchanged element hidden)
            ]
            # (6 unchanged attributes hidden)
        }
    }

Plan: 6 to add, 6 to change, 8 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.
Releasing state lock. This may take a few moments...

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

@arnol377 arnol377 enabled auto-merge (squash) August 16, 2024 23:37
@gomez385 gomez385 closed this Aug 16, 2024
auto-merge was automatically disabled August 16, 2024 23:37

Pull request was closed

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