diff --git a/external_actions.tf b/external_actions.tf new file mode 100644 index 0000000..c511471 --- /dev/null +++ b/external_actions.tf @@ -0,0 +1,7 @@ +module github_script { + source = "HappyPathway/gh-actions/importer" + git_repo_url = "https://github.com/actions/github-script.git" + git_repo_path = "/home/a/arnol377/git/gh-actions-github-script" + repo_name = "gh-actions-github-script" + repo_org = "CSVD" +} diff --git a/main.tf b/main.tf index 36fa2bc..21ab55c 100644 --- a/main.tf +++ b/main.tf @@ -1,17 +1,80 @@ -module "runner" { - source = "HappyPathway/runner/ghe" - github_base_url = "https://github.e.it.census.gov" - github_owner = "CSVD" - runner_basedir = "/apps/terraform/workspaces/arnol377/ghe-runner" - runner_tarball = "/apps/terraform/workspaces/arnol377/actions-runner-linux-x64-2.304.0.tar.gz" - repos = [ + +locals { + pipeline_repos = [ "aws-image-pipeline", "linux-image-pipeline", "windows-image-pipeline", "image-pipeline-goss-testing", "image-pipeline-ansible-playbooks", ] + workspace_repos = [ + "automation-repos" + ] + all_repos = concat( + local.pipeline_repos, + local.workspace_repos + ) + secrets = [ + "AWS_SECRET_ACCESS_KEY", + "AWS_SESSION_TOKEN", + "AWS_ACCESS_KEY_ID", + "GITHUB_TOKEN" + ] +} + +module "runner" { + source = "HappyPathway/runner/ghe" + github_base_url = "https://github.e.it.census.gov" + github_owner = "CSVD" + runner_basedir = "/apps/terraform/workspaces/arnol377/ghe-runner" + runner_tarball = "/apps/terraform/workspaces/arnol377/actions-runner-linux-x64-2.304.0.tar.gz" + repos = local.pipeline_repos runner_labels = [ "image-pipeline" ] } + +module "tf_workspace_runners" { + source = "HappyPathway/runner/ghe" + github_base_url = "https://github.e.it.census.gov" + github_owner = "CSVD" + runner_basedir = "/apps/terraform/workspaces/arnol377/ghe-runner" + runner_tarball = "/apps/terraform/workspaces/arnol377/actions-runner-linux-x64-2.304.0.tar.gz" + repos = local.workspace_repos + runner_labels = [ + "terraform-workspaces" + ] +} + +module env_var { + source = "HappyPathway/var/env" + for_each = toset(local.secrets) + env_var = each.value +} + +module repo_secrets { + source = "HappyPathway/vars/repo" + for_each = toset(local.all_repos) + repo = { + name = each.value + } + secrets = [ + for secret in [for secret in local.secrets : secret if secret != "AWS_ACCESS_KEY_ID"]: + { + name = replace(secret, "GITHUB", "GH") + value = lookup(module.env_var, secret).value + } + ] + vars = [ + { + name = "AWS_ACCESS_KEY_ID" + value = lookup(module.env_var, "AWS_ACCESS_KEY_ID").value + } + ] + +} + + +output secrets { + value = module.env_var +} diff --git a/terraform.tfstate b/terraform.tfstate index 05ee2b2..e98690e 100644 --- a/terraform.tfstate +++ b/terraform.tfstate @@ -1,10 +1,1518 @@ { "version": 4, "terraform_version": "1.9.1", - "serial": 40, - "lineage": "5e2c7a5e-ddf9-7c73-16ae-e0df68665ea7", - "outputs": {}, + "serial": 201, + "lineage": "e78a4e10-cf81-43c7-3669-9d54a726a442", + "outputs": { + "secrets": { + "value": { + "AWS_ACCESS_KEY_ID": { + "set": true, + "value": "ASIATK6SR2K2YUWO7PHG" + }, + "AWS_SECRET_ACCESS_KEY": { + "set": true, + "value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P" + }, + "AWS_SESSION_TOKEN": { + "set": true, + "value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v" + }, + "GITHUB_TOKEN": { + "set": true, + "value": "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" + } + }, + "type": [ + "object", + { + "AWS_ACCESS_KEY_ID": [ + "object", + { + "set": "bool", + "value": "string" + } + ], + "AWS_SECRET_ACCESS_KEY": [ + "object", + { + "set": "bool", + "value": "string" + } + ], + "AWS_SESSION_TOKEN": [ + "object", + { + "set": "bool", + "value": "string" + } + ], + "GITHUB_TOKEN": [ + "object", + { + "set": "bool", + "value": "string" + } + ] + } + ] + } + }, "resources": [ + { + "module": "module.env_var[\"AWS_ACCESS_KEY_ID\"]", + "mode": "data", + "type": "external", + "name": "var", + "provider": "provider[\"registry.terraform.io/hashicorp/external\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "-", + "program": [ + "python", + ".terraform/modules/env_var/env-var.py" + ], + "query": { + "nonce": "Y0C1xpRh1PYQNUE9", + "var": "AWS_ACCESS_KEY_ID" + }, + "result": { + "value": "ASIATK6SR2K2YUWO7PHG", + "varset": "set" + }, + "working_dir": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_ACCESS_KEY_ID\"]", + "mode": "managed", + "type": "random_string", + "name": "random", + "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "id": "Y0C1xpRh1PYQNUE9", + "keepers": null, + "length": 16, + "lower": true, + "min_lower": 0, + "min_numeric": 0, + "min_special": 0, + "min_upper": 0, + "number": true, + "numeric": true, + "override_special": "/@£$", + "result": "Y0C1xpRh1PYQNUE9", + "special": true, + "upper": true + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_SECRET_ACCESS_KEY\"]", + "mode": "data", + "type": "external", + "name": "var", + "provider": "provider[\"registry.terraform.io/hashicorp/external\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "-", + "program": [ + "python", + ".terraform/modules/env_var/env-var.py" + ], + "query": { + "nonce": "ormbyBD�p9Uz6Xmu", + "var": "AWS_SECRET_ACCESS_KEY" + }, + "result": { + "value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "varset": "set" + }, + "working_dir": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_SECRET_ACCESS_KEY\"]", + "mode": "managed", + "type": "random_string", + "name": "random", + "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "id": "ormbyBD�p9Uz6Xmu", + "keepers": null, + "length": 16, + "lower": true, + "min_lower": 0, + "min_numeric": 0, + "min_special": 0, + "min_upper": 0, + "number": true, + "numeric": true, + "override_special": "/@£$", + "result": "ormbyBD�p9Uz6Xmu", + "special": true, + "upper": true + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_SESSION_TOKEN\"]", + "mode": "data", + "type": "external", + "name": "var", + "provider": "provider[\"registry.terraform.io/hashicorp/external\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "-", + "program": [ + "python", + ".terraform/modules/env_var/env-var.py" + ], + "query": { + "nonce": "UyZS3NU1oQ4Z6W�a", + "var": "AWS_SESSION_TOKEN" + }, + "result": { + "value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "varset": "set" + }, + "working_dir": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_SESSION_TOKEN\"]", + "mode": "managed", + "type": "random_string", + "name": "random", + "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "id": "UyZS3NU1oQ4Z6W�a", + "keepers": null, + "length": 16, + "lower": true, + "min_lower": 0, + "min_numeric": 0, + "min_special": 0, + "min_upper": 0, + "number": true, + "numeric": true, + "override_special": "/@£$", + "result": "UyZS3NU1oQ4Z6W�a", + "special": true, + "upper": true + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"GITHUB_TOKEN\"]", + "mode": "data", + "type": "external", + "name": "var", + "provider": "provider[\"registry.terraform.io/hashicorp/external\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "-", + "program": [ + "python", + ".terraform/modules/env_var/env-var.py" + ], + "query": { + "nonce": "J8DJ8wCKnWpL�td9", + "var": "GITHUB_TOKEN" + }, + "result": { + "value": "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", + "varset": "set" + }, + "working_dir": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"GITHUB_TOKEN\"]", + "mode": "managed", + "type": "random_string", + "name": "random", + "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "id": "J8DJ8wCKnWpL�td9", + "keepers": null, + "length": 16, + "lower": true, + "min_lower": 0, + "min_numeric": 0, + "min_special": 0, + "min_upper": 0, + "number": true, + "numeric": true, + "override_special": "/@£$", + "result": "J8DJ8wCKnWpL�td9", + "special": true, + "upper": true + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.github_script", + "mode": "managed", + "type": "null_resource", + "name": "git_clone", + "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "1223174279697704692", + "triggers": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.github_script", + "mode": "managed", + "type": "null_resource", + "name": "git_clone_new_repo", + "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "4614869244027441992", + "triggers": null + }, + "sensitive_attributes": [], + "dependencies": [ + "module.github_script.module.internal_github_actions.data.github_organization_teams.root_teams", + "module.github_script.module.internal_github_actions.data.github_ref.ref", + "module.github_script.module.internal_github_actions.data.github_repository.template_repo", + "module.github_script.module.internal_github_actions.data.github_user.pull_request_bypassers", + "module.github_script.module.internal_github_actions.github_actions_secret.secret", + "module.github_script.module.internal_github_actions.github_actions_variable.variable", + "module.github_script.module.internal_github_actions.github_branch.branch", + "module.github_script.module.internal_github_actions.github_branch_default.default_main_branch", + "module.github_script.module.internal_github_actions.github_branch_protection.main", + "module.github_script.module.internal_github_actions.github_repository.repo", + "module.github_script.module.internal_github_actions.github_repository_collaborator.collaborators", + "module.github_script.module.internal_github_actions.github_repository_file.codeowners", + "module.github_script.module.internal_github_actions.github_repository_file.extra_files", + "module.github_script.module.internal_github_actions.github_team_repository.admin", + "module.github_script.null_resource.git_clone" + ] + } + ] + }, + { + "module": "module.github_script.module.internal_github_actions", + "mode": "data", + "type": "github_organization_teams", + "name": "root_teams", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "id": "MDEyOk9yZ2FuaXphdGlvbjM1", + "results_per_page": 100, + "root_teams_only": false, + "summary_only": false, + "teams": [ + { + "description": "", + "id": 2, + "members": [ + "winge001", + "pinto005", + "garri325", + "tanyi001", + "desai018", + "sivil001" + ], + "name": "CSVD_Admins", + "node_id": "MDQ6VGVhbTI=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "csvd_admins" + }, + { + "description": "", + "id": 3, + "members": [ + "gogel001", + "lange309", + "dodd0306", + "onyek002", + "raybi001", + "cf-user", + "csvd-openshift", + "svc-ansible", + "garre343", + "schic001", + "garri325", + "carro356", + "davis323", + "mille441", + "harpe341", + "quatt008", + "akapo001", + "bell0402", + "agbo0001", + "zunig011", + "bouvi301", + "aravi001", + "niang001", + "shaik005", + "pazou001", + "dwara001", + "kalat002", + "zulfi001", + "nform001", + "cymer001", + "jacks404", + "ullah302", + "kalep001", + "andra315", + "lawso358", + "owens397", + "jezes001", + "brow0041", + "alade001", + "rehma003", + "McCoy371", + "patel385", + "arnol377", + "sivil001", + "naray007", + "lolli001", + "roger367" + ], + "name": "CSVD_Users", + "node_id": "MDQ6VGVhbTM=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "Legacy-Ansible-Applications", + "Legacy-Ansible-Operations", + "Legacy-Ansible-SAS", + "Configuration-Novell-LDAP-CSVD", + "Legacy-tools-for-tools", + "Operation-Redhat-RHEL-CSVD-sudo", + "Operation-AWS-CSVD-instance_tagging", + "Operation-VMware-CSVD-custom_attributes", + "Application-ClamAV-ClamAV-CSVD", + "Operation-Amazon-CSVD-provision_ec2", + "Operation-Ansible-CSVD-build_vars", + "Operation-Ansible-CSVD-workflow-application_catalog", + "Operation-Ansible-CSVD-workflow-checks", + "Operation-Ansible-CSVD-workflow-convergence-check", + "Operation-Ansible-CSVD-workflow-notification", + "Operation-BMC-Atrium_Core-CSVD", + "Operation-Cloudforms-CSVD-workflow-callbacks", + "Operation-Redhat-CloudForms-CSVD-CICD-order", + "Operation-Redhat-RHEL7-aws-mount-ephemeral", + "Operation-Redhat-RHEL7-CSVD-audit", + "Operation-Redhat-RHEL-CSVD-chrony", + "Operation-Redhat-RHEL-CSVD-mount_disk", + "Operation-VMware-CSVD-provision_vm", + "Operation-Windows-OS-CSVD-mount_disk", + "Report-Tenable-SecurityCenter-CSVD", + "Legacy-atx-win-applications", + "Legacy-atx-win-build", + "Operation-Cisco-UCS-Profiles", + "Application-Veritas-NetBackup-CSVD", + "Legacy-atx-win-playbooks", + "Splunk-SC4S-gomplate", + "Operation-Red_Hat-RHEL8-CSVD-Baseline", + "product-test-s3-bucket" + ], + "slug": "csvd_users" + }, + { + "description": "Best Team Ever!", + "id": 4, + "members": [ + "youss001", + "pavul001", + "rainw303", + "winge001", + "pinto005", + "gogel001", + "lange309", + "dodd0306", + "onyek002", + "raybi001", + "garri325", + "vidab001", + "conte015", + "cymer001", + "ullah302", + "owens397", + "basil307" + ], + "name": "csvd_test_team", + "node_id": "MDQ6VGVhbTQ=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "csvd_test_team" + }, + { + "description": "IEB Automation team is under IEB Org", + "id": 5, + "members": [ + "winge001", + "dodd0306", + "onyek002", + "raybi001", + "garri325", + "gomez385" + ], + "name": "IEB Automation", + "node_id": "MDQ6VGVhbTU=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "Operation-Windows-OS-AD-Actions", + "Operation-Ansible-CSVD-workflow-winbuild-vmw", + "CloudForms-SERVICE_DIALOGS", + "CloudForms-REPORTS", + "CloudForms-ROLES", + "CloudForms-Email", + "CloudForms-CSVD", + "CloudForms-CSVD_Variables", + "CloudForms-BUTTONS", + "CloudForms-TAGS", + "Operation-Redhat-RHEL7-CSVD-banners", + "Ansible-Windows-Build-AZR", + "Ansible-Windows-Build-Ops", + "Ansible-Windows-Build-VMW", + "Ansible-Windows-Image-Ops", + "Ansible-Windows-Retirement-Ops", + "Operation-Redhat-RHEL7-CSVD-logrotate", + "Operation-Red_Hat-Satellite-CSVD", + "Ansible-Windows-Development", + "Ansible_Inventory_Setup", + "Operation-Redhat-RHEL7-CSVD-sshd", + "Operation-Redhat-RHEL7-CSVD-grub2", + "Operation-CSVD-podman", + "Operation-Redhat-RHEL7-CSVD-sendmail", + "Operation-Red_Hat-Ansible_Tower-CSVD", + "Operation-Redhat-RHEL7-CSVD-svc_account", + "Operations_RHEL_OS_Configurations", + "Operations-RHEL-Ansible", + "Collection-Red_Hat-RHEL_Baseline-CSVD", + "Application-Red_Hat-Ansible_Automation_Platform-CSVD", + "Operation-Redhat-RHEL7-CSVD-systemctl", + "Application-Splunk-Splunk_Universal_Forwarder-CSVD", + "Operation-Amazon-CSVD-provision_services", + "Operation-Amazon-AWS-CSVD-RHEL_AMI", + "Operation-Red_Hat-Insights-CSVD", + "Operation-GitHub-GitHub_Enterprise-CSVD", + "Ansible-Windows-Build-AZR-LAB", + "SAT6_cert_renew_PROD", + "Application-Redhat-Satellite-CSVD-certificate-renew", + "Operation-Microsoft-MDE_Linux", + "Operation-Microsoft-Azure_Connected_Machine_agent", + "Ansible-Windows-Build-AWS", + "Application-HCL-BigFix-CSVD", + "Application-Morpheus_Data-Morpheus-CSVD", + "AAP-Windows-Build-AWS", + "Ansible-Windows-Build-AWS-LAB" + ], + "slug": "ieb-automation" + }, + { + "description": "", + "id": 62, + "members": [ + "ojimi001", + "short343" + ], + "name": "Spunk Admin", + "node_id": "MDQ6VGVhbTYy", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "splunk-connect-for-syslog", + "Splunk-SC4S-gomplate" + ], + "slug": "spunk-admin" + }, + { + "description": "", + "id": 716, + "members": [], + "name": "csvd-automation", + "node_id": "MDQ6VGVhbTcxNg==", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "aws-beanstalk", + "aws-image-pipeline", + "beanstalk-flask-demo", + "aws-beanstalk-java", + "aws-beanstalk-docker", + "image-pipeline-goss-testing", + "aws-beanstalk-nodejs", + "image-pipeline-playbook", + "aws-beanstalk-php", + "windows-ami-build", + "windows-image-pipeline", + "automation-repos", + "terraform-github-repo", + "image-pipeline-ansible-playbooks", + "linux-image-pipeline", + "image-pipeline-asset-releases", + "arm-rhel-image-pipeline", + "gh-actions-setup-terraform" + ], + "slug": "csvd-automation" + } + ] + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.github_script.module.internal_github_actions", + "mode": "managed", + "type": "github_repository", + "name": "repo", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "allow_update_branch": false, + "archive_on_destroy": true, + "archived": false, + "auto_init": true, + "default_branch": "main", + "delete_branch_on_merge": true, + "description": "Imported External Github Actions Repository", + "etag": "W/\"173e1ef79d94b634e9f8e6f27f5e0ca8cc7ee3e1f6a6fc4de0a45f04a57bfeb6\"", + "full_name": "CSVD/gh-actions-github-script", + "git_clone_url": "git://github.e.it.census.gov/CSVD/gh-actions-github-script.git", + "gitignore_template": "Terraform", + "has_discussions": false, + "has_downloads": false, + "has_issues": false, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.e.it.census.gov/CSVD/gh-actions-github-script", + "http_clone_url": "https://github.e.it.census.gov/CSVD/gh-actions-github-script.git", + "id": "gh-actions-github-script", + "ignore_vulnerability_alerts_during_read": null, + "is_template": false, + "license_template": null, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "gh-actions-github-script", + "node_id": "MDEwOlJlcG9zaXRvcnkxMDA2", + "pages": [], + "primary_language": "", + "private": false, + "repo_id": 1006, + "security_and_analysis": [ + { + "advanced_security": [ + { + "status": "disabled" + } + ], + "secret_scanning": [ + { + "status": "disabled" + } + ], + "secret_scanning_push_protection": [ + { + "status": "disabled" + } + ] + } + ], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.e.it.census.gov:CSVD/gh-actions-github-script.git", + "svn_url": "https://github.e.it.census.gov/CSVD/gh-actions-github-script", + "template": [], + "topics": [ + "github-actions" + ], + "visibility": "public", + "vulnerability_alerts": false, + "web_commit_signoff_required": false + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "module": "module.repo_secrets[\"automation-repos\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:41 +0000 UTC", + "encrypted_value": "", + "id": "automation-repos:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "automation-repos", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:41 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:29 +0000 UTC", + "encrypted_value": "", + "id": "automation-repos:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "automation-repos", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:29 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:08 +0000 UTC", + "encrypted_value": "", + "id": "automation-repos:GH_TOKEN", + "plaintext_value": "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", + "repository": "automation-repos", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:08 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"automation-repos\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:54 +0000 UTC", + "id": "automation-repos:AWS_ACCESS_KEY_ID", + "repository": "automation-repos", + "updated_at": "2024-08-13 15:58:54 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"aws-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:27 +0000 UTC", + "encrypted_value": "", + "id": "aws-image-pipeline:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "aws-image-pipeline", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:27 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:31 +0000 UTC", + "encrypted_value": "", + "id": "aws-image-pipeline:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "aws-image-pipeline", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:31 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:11 +0000 UTC", + "encrypted_value": "", + "id": "aws-image-pipeline:GH_TOKEN", + "plaintext_value": "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", + "repository": "aws-image-pipeline", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:11 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"aws-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:59:56 +0000 UTC", + "id": "aws-image-pipeline:AWS_ACCESS_KEY_ID", + "repository": "aws-image-pipeline", + "updated_at": "2024-08-13 15:59:56 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"image-pipeline-ansible-playbooks\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:32 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-ansible-playbooks:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "image-pipeline-ansible-playbooks", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:32 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:34 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-ansible-playbooks:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "image-pipeline-ansible-playbooks", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:34 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:02 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-ansible-playbooks:GH_TOKEN", + "plaintext_value": "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", + "repository": "image-pipeline-ansible-playbooks", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:02 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"image-pipeline-ansible-playbooks\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:50 +0000 UTC", + "id": "image-pipeline-ansible-playbooks:AWS_ACCESS_KEY_ID", + "repository": "image-pipeline-ansible-playbooks", + "updated_at": "2024-08-13 15:58:50 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"image-pipeline-goss-testing\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:37 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-goss-testing:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "image-pipeline-goss-testing", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:37 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:21 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-goss-testing:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "image-pipeline-goss-testing", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:21 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:22 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-goss-testing:GH_TOKEN", + "plaintext_value": "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", + "repository": "image-pipeline-goss-testing", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:22 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ], + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"image-pipeline-goss-testing\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:55 +0000 UTC", + "id": "image-pipeline-goss-testing:AWS_ACCESS_KEY_ID", + "repository": "image-pipeline-goss-testing", + "updated_at": "2024-08-13 15:58:55 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"linux-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:40 +0000 UTC", + "encrypted_value": "", + "id": "linux-image-pipeline:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "linux-image-pipeline", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:40 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:35 +0000 UTC", + "encrypted_value": "", + "id": "linux-image-pipeline:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "linux-image-pipeline", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:35 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:24 +0000 UTC", + "encrypted_value": "", + "id": "linux-image-pipeline:GH_TOKEN", + "plaintext_value": "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", + "repository": "linux-image-pipeline", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:24 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"linux-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:56 +0000 UTC", + "id": "linux-image-pipeline:AWS_ACCESS_KEY_ID", + "repository": "linux-image-pipeline", + "updated_at": "2024-08-13 15:58:56 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"windows-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:24 +0000 UTC", + "encrypted_value": "", + "id": "windows-image-pipeline:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "windows-image-pipeline", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:24 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:42 +0000 UTC", + "encrypted_value": "", + "id": "windows-image-pipeline:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "windows-image-pipeline", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:42 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:54:56 +0000 UTC", + "encrypted_value": "", + "id": "windows-image-pipeline:GH_TOKEN", + "plaintext_value": "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", + "repository": "windows-image-pipeline", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:54:56 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"windows-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:51 +0000 UTC", + "id": "windows-image-pipeline:AWS_ACCESS_KEY_ID", + "repository": "windows-image-pipeline", + "updated_at": "2024-08-13 15:58:51 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, { "module": "module.runner", "mode": "data", @@ -16,10 +1524,10 @@ "index_key": "aws-image-pipeline", "schema_version": 0, "attributes": { - "expires_at": 1723228011, + "expires_at": 1723578570, "id": "CSVD/aws-image-pipeline", "repository": "aws-image-pipeline", - "token": "AAAAEJPIJ7IAYC3ZMAMN3KTGWZPWW" + "token": "AAAAEJIQ6NW4TP7OUQN74U3GXO4MU" }, "sensitive_attributes": [] }, @@ -27,10 +1535,10 @@ "index_key": "image-pipeline-ansible-playbooks", "schema_version": 0, "attributes": { - "expires_at": 1723228010, + "expires_at": 1723578571, "id": "CSVD/image-pipeline-ansible-playbooks", "repository": "image-pipeline-ansible-playbooks", - "token": "AAAAEJMCFRBEWF43DDRNRZTGWZPWU" + "token": "AAAAEJLIMKGFHNFGJDTBKZTGXO4MW" }, "sensitive_attributes": [] }, @@ -38,10 +1546,10 @@ "index_key": "image-pipeline-goss-testing", "schema_version": 0, "attributes": { - "expires_at": 1723228013, + "expires_at": 1723578569, "id": "CSVD/image-pipeline-goss-testing", "repository": "image-pipeline-goss-testing", - "token": "AAAAEJPETSBDPW4OH6CX6ULGWZPW2" + "token": "AAAAEJPS74AHM5TO3GORWH3GXO4MS" }, "sensitive_attributes": [] }, @@ -49,10 +1557,10 @@ "index_key": "linux-image-pipeline", "schema_version": 0, "attributes": { - "expires_at": 1723228012, + "expires_at": 1723578572, "id": "CSVD/linux-image-pipeline", "repository": "linux-image-pipeline", - "token": "AAAAEJIL2M2XLWHGQDE2YE3GWZPWY" + "token": "AAAAEJNJYIQ7KOTWJP37EWTGXO4MY" }, "sensitive_attributes": [] }, @@ -60,10 +1568,10 @@ "index_key": "windows-image-pipeline", "schema_version": 0, "attributes": { - "expires_at": 1723228008, + "expires_at": 1723578573, "id": "CSVD/windows-image-pipeline", "repository": "windows-image-pipeline", - "token": "AAAAEJKJE4TMXH7I5MLWV2DGWZPWQ" + "token": "AAAAEJJSXWLKK5ODYARP2RLGXO4M2" }, "sensitive_attributes": [] } @@ -189,7 +1697,7 @@ "html_url": "https://github.e.it.census.gov/CSVD/image-pipeline-goss-testing", "http_clone_url": "https://github.e.it.census.gov/CSVD/image-pipeline-goss-testing.git", "id": "image-pipeline-goss-testing", - "is_template": true, + "is_template": false, "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE", "name": "image-pipeline-goss-testing", @@ -234,7 +1742,7 @@ "html_url": "https://github.e.it.census.gov/CSVD/linux-image-pipeline", "http_clone_url": "https://github.e.it.census.gov/CSVD/linux-image-pipeline.git", "id": "linux-image-pipeline", - "is_template": true, + "is_template": false, "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE", "name": "linux-image-pipeline", @@ -279,7 +1787,7 @@ "html_url": "https://github.e.it.census.gov/CSVD/windows-image-pipeline", "http_clone_url": "https://github.e.it.census.gov/CSVD/windows-image-pipeline.git", "id": "windows-image-pipeline", - "is_template": true, + "is_template": false, "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE", "name": "windows-image-pipeline", @@ -314,7 +1822,7 @@ "index_key": "aws-image-pipeline", "schema_version": 0, "attributes": { - "id": "3265801747151091837", + "id": "1573328396286083292", "triggers": null }, "sensitive_attributes": [], @@ -328,7 +1836,7 @@ "index_key": "image-pipeline-ansible-playbooks", "schema_version": 0, "attributes": { - "id": "194804118598394064", + "id": "8179038562173005502", "triggers": null }, "sensitive_attributes": [], @@ -342,7 +1850,7 @@ "index_key": "image-pipeline-goss-testing", "schema_version": 0, "attributes": { - "id": "5336565778616734214", + "id": "8976819641816309123", "triggers": null }, "sensitive_attributes": [], @@ -356,7 +1864,7 @@ "index_key": "linux-image-pipeline", "schema_version": 0, "attributes": { - "id": "2962463554416131553", + "id": "7563854278815236675", "triggers": null }, "sensitive_attributes": [], @@ -370,7 +1878,7 @@ "index_key": "windows-image-pipeline", "schema_version": 0, "attributes": { - "id": "6846591234767840591", + "id": "4579749070499031657", "triggers": null }, "sensitive_attributes": [], @@ -381,6 +1889,103 @@ ] } ] + }, + { + "module": "module.tf_workspace_runners", + "mode": "data", + "type": "github_actions_registration_token", + "name": "token", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "automation-repos", + "schema_version": 0, + "attributes": { + "expires_at": 1723578577, + "id": "CSVD/automation-repos", + "repository": "automation-repos", + "token": "AAAAEJN24FERDWWBYSFVZDDGXO4NC" + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.tf_workspace_runners", + "mode": "data", + "type": "github_repository", + "name": "repository", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "automation-repos", + "schema_version": 0, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "archived": false, + "default_branch": "main", + "description": "Automation Repos for Morpheus POC", + "fork": false, + "full_name": "CSVD/automation-repos", + "git_clone_url": "git://github.e.it.census.gov/CSVD/automation-repos.git", + "has_discussions": false, + "has_downloads": false, + "has_issues": false, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.e.it.census.gov/CSVD/automation-repos", + "http_clone_url": "https://github.e.it.census.gov/CSVD/automation-repos.git", + "id": "automation-repos", + "is_template": false, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "automation-repos", + "node_id": "MDEwOlJlcG9zaXRvcnk5ODE=", + "pages": [], + "primary_language": "HCL", + "private": true, + "repo_id": 981, + "repository_license": [], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.e.it.census.gov:CSVD/automation-repos.git", + "svn_url": "https://github.e.it.census.gov/CSVD/automation-repos", + "template": [], + "topics": [ + "terraform" + ], + "visibility": "private" + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.tf_workspace_runners", + "mode": "managed", + "type": "null_resource", + "name": "register_runner", + "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", + "instances": [ + { + "index_key": "automation-repos", + "schema_version": 0, + "attributes": { + "id": "2159090096050554426", + "triggers": null + }, + "sensitive_attributes": [], + "dependencies": [ + "module.tf_workspace_runners.data.github_actions_registration_token.token", + "module.tf_workspace_runners.data.github_repository.repository", + "module.tf_workspace_runners.github_actions_runner_group.rg" + ] + } + ] } ], "check_results": null diff --git a/terraform.tfstate.backup b/terraform.tfstate.backup index 55b90a1..d51cb3c 100644 --- a/terraform.tfstate.backup +++ b/terraform.tfstate.backup @@ -1,10 +1,1518 @@ { "version": 4, "terraform_version": "1.9.1", - "serial": 35, - "lineage": "5e2c7a5e-ddf9-7c73-16ae-e0df68665ea7", - "outputs": {}, + "serial": 199, + "lineage": "e78a4e10-cf81-43c7-3669-9d54a726a442", + "outputs": { + "secrets": { + "value": { + "AWS_ACCESS_KEY_ID": { + "set": true, + "value": "ASIATK6SR2K2YUWO7PHG" + }, + "AWS_SECRET_ACCESS_KEY": { + "set": true, + "value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P" + }, + "AWS_SESSION_TOKEN": { + "set": true, + "value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v" + }, + "GITHUB_TOKEN": { + "set": true, + "value": "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" + } + }, + "type": [ + "object", + { + "AWS_ACCESS_KEY_ID": [ + "object", + { + "set": "bool", + "value": "string" + } + ], + "AWS_SECRET_ACCESS_KEY": [ + "object", + { + "set": "bool", + "value": "string" + } + ], + "AWS_SESSION_TOKEN": [ + "object", + { + "set": "bool", + "value": "string" + } + ], + "GITHUB_TOKEN": [ + "object", + { + "set": "bool", + "value": "string" + } + ] + } + ] + } + }, "resources": [ + { + "module": "module.env_var[\"AWS_ACCESS_KEY_ID\"]", + "mode": "data", + "type": "external", + "name": "var", + "provider": "provider[\"registry.terraform.io/hashicorp/external\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "-", + "program": [ + "python", + ".terraform/modules/env_var/env-var.py" + ], + "query": { + "nonce": "Y0C1xpRh1PYQNUE9", + "var": "AWS_ACCESS_KEY_ID" + }, + "result": { + "value": "ASIATK6SR2K2YUWO7PHG", + "varset": "set" + }, + "working_dir": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_ACCESS_KEY_ID\"]", + "mode": "managed", + "type": "random_string", + "name": "random", + "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "id": "Y0C1xpRh1PYQNUE9", + "keepers": null, + "length": 16, + "lower": true, + "min_lower": 0, + "min_numeric": 0, + "min_special": 0, + "min_upper": 0, + "number": true, + "numeric": true, + "override_special": "/@£$", + "result": "Y0C1xpRh1PYQNUE9", + "special": true, + "upper": true + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_SECRET_ACCESS_KEY\"]", + "mode": "data", + "type": "external", + "name": "var", + "provider": "provider[\"registry.terraform.io/hashicorp/external\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "-", + "program": [ + "python", + ".terraform/modules/env_var/env-var.py" + ], + "query": { + "nonce": "ormbyBD�p9Uz6Xmu", + "var": "AWS_SECRET_ACCESS_KEY" + }, + "result": { + "value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "varset": "set" + }, + "working_dir": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_SECRET_ACCESS_KEY\"]", + "mode": "managed", + "type": "random_string", + "name": "random", + "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "id": "ormbyBD�p9Uz6Xmu", + "keepers": null, + "length": 16, + "lower": true, + "min_lower": 0, + "min_numeric": 0, + "min_special": 0, + "min_upper": 0, + "number": true, + "numeric": true, + "override_special": "/@£$", + "result": "ormbyBD�p9Uz6Xmu", + "special": true, + "upper": true + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_SESSION_TOKEN\"]", + "mode": "data", + "type": "external", + "name": "var", + "provider": "provider[\"registry.terraform.io/hashicorp/external\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "-", + "program": [ + "python", + ".terraform/modules/env_var/env-var.py" + ], + "query": { + "nonce": "UyZS3NU1oQ4Z6W�a", + "var": "AWS_SESSION_TOKEN" + }, + "result": { + "value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "varset": "set" + }, + "working_dir": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"AWS_SESSION_TOKEN\"]", + "mode": "managed", + "type": "random_string", + "name": "random", + "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "id": "UyZS3NU1oQ4Z6W�a", + "keepers": null, + "length": 16, + "lower": true, + "min_lower": 0, + "min_numeric": 0, + "min_special": 0, + "min_upper": 0, + "number": true, + "numeric": true, + "override_special": "/@£$", + "result": "UyZS3NU1oQ4Z6W�a", + "special": true, + "upper": true + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"GITHUB_TOKEN\"]", + "mode": "data", + "type": "external", + "name": "var", + "provider": "provider[\"registry.terraform.io/hashicorp/external\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "-", + "program": [ + "python", + ".terraform/modules/env_var/env-var.py" + ], + "query": { + "nonce": "J8DJ8wCKnWpL�td9", + "var": "GITHUB_TOKEN" + }, + "result": { + "value": "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", + "varset": "set" + }, + "working_dir": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.env_var[\"GITHUB_TOKEN\"]", + "mode": "managed", + "type": "random_string", + "name": "random", + "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "id": "J8DJ8wCKnWpL�td9", + "keepers": null, + "length": 16, + "lower": true, + "min_lower": 0, + "min_numeric": 0, + "min_special": 0, + "min_upper": 0, + "number": true, + "numeric": true, + "override_special": "/@£$", + "result": "J8DJ8wCKnWpL�td9", + "special": true, + "upper": true + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.github_script", + "mode": "managed", + "type": "null_resource", + "name": "git_clone", + "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "1223174279697704692", + "triggers": null + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.github_script", + "mode": "managed", + "type": "null_resource", + "name": "git_clone_new_repo", + "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "4614869244027441992", + "triggers": null + }, + "sensitive_attributes": [], + "dependencies": [ + "module.github_script.module.internal_github_actions.data.github_organization_teams.root_teams", + "module.github_script.module.internal_github_actions.data.github_ref.ref", + "module.github_script.module.internal_github_actions.data.github_repository.template_repo", + "module.github_script.module.internal_github_actions.data.github_user.pull_request_bypassers", + "module.github_script.module.internal_github_actions.github_actions_secret.secret", + "module.github_script.module.internal_github_actions.github_actions_variable.variable", + "module.github_script.module.internal_github_actions.github_branch.branch", + "module.github_script.module.internal_github_actions.github_branch_default.default_main_branch", + "module.github_script.module.internal_github_actions.github_branch_protection.main", + "module.github_script.module.internal_github_actions.github_repository.repo", + "module.github_script.module.internal_github_actions.github_repository_collaborator.collaborators", + "module.github_script.module.internal_github_actions.github_repository_file.codeowners", + "module.github_script.module.internal_github_actions.github_repository_file.extra_files", + "module.github_script.module.internal_github_actions.github_team_repository.admin", + "module.github_script.null_resource.git_clone" + ] + } + ] + }, + { + "module": "module.github_script.module.internal_github_actions", + "mode": "data", + "type": "github_organization_teams", + "name": "root_teams", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "id": "MDEyOk9yZ2FuaXphdGlvbjM1", + "results_per_page": 100, + "root_teams_only": false, + "summary_only": false, + "teams": [ + { + "description": "", + "id": 2, + "members": [ + "winge001", + "pinto005", + "garri325", + "tanyi001", + "desai018", + "sivil001" + ], + "name": "CSVD_Admins", + "node_id": "MDQ6VGVhbTI=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "csvd_admins" + }, + { + "description": "", + "id": 3, + "members": [ + "gogel001", + "lange309", + "dodd0306", + "onyek002", + "raybi001", + "cf-user", + "csvd-openshift", + "svc-ansible", + "garre343", + "schic001", + "garri325", + "carro356", + "davis323", + "mille441", + "harpe341", + "quatt008", + "akapo001", + "bell0402", + "agbo0001", + "zunig011", + "bouvi301", + "aravi001", + "niang001", + "shaik005", + "pazou001", + "dwara001", + "kalat002", + "zulfi001", + "nform001", + "cymer001", + "jacks404", + "ullah302", + "kalep001", + "andra315", + "lawso358", + "owens397", + "jezes001", + "brow0041", + "alade001", + "rehma003", + "McCoy371", + "patel385", + "arnol377", + "sivil001", + "naray007", + "lolli001", + "roger367" + ], + "name": "CSVD_Users", + "node_id": "MDQ6VGVhbTM=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "Legacy-Ansible-Applications", + "Legacy-Ansible-Operations", + "Legacy-Ansible-SAS", + "Configuration-Novell-LDAP-CSVD", + "Legacy-tools-for-tools", + "Operation-Redhat-RHEL-CSVD-sudo", + "Operation-AWS-CSVD-instance_tagging", + "Operation-VMware-CSVD-custom_attributes", + "Application-ClamAV-ClamAV-CSVD", + "Operation-Amazon-CSVD-provision_ec2", + "Operation-Ansible-CSVD-build_vars", + "Operation-Ansible-CSVD-workflow-application_catalog", + "Operation-Ansible-CSVD-workflow-checks", + "Operation-Ansible-CSVD-workflow-convergence-check", + "Operation-Ansible-CSVD-workflow-notification", + "Operation-BMC-Atrium_Core-CSVD", + "Operation-Cloudforms-CSVD-workflow-callbacks", + "Operation-Redhat-CloudForms-CSVD-CICD-order", + "Operation-Redhat-RHEL7-aws-mount-ephemeral", + "Operation-Redhat-RHEL7-CSVD-audit", + "Operation-Redhat-RHEL-CSVD-chrony", + "Operation-Redhat-RHEL-CSVD-mount_disk", + "Operation-VMware-CSVD-provision_vm", + "Operation-Windows-OS-CSVD-mount_disk", + "Report-Tenable-SecurityCenter-CSVD", + "Legacy-atx-win-applications", + "Legacy-atx-win-build", + "Operation-Cisco-UCS-Profiles", + "Application-Veritas-NetBackup-CSVD", + "Legacy-atx-win-playbooks", + "Splunk-SC4S-gomplate", + "Operation-Red_Hat-RHEL8-CSVD-Baseline", + "product-test-s3-bucket" + ], + "slug": "csvd_users" + }, + { + "description": "Best Team Ever!", + "id": 4, + "members": [ + "youss001", + "pavul001", + "rainw303", + "winge001", + "pinto005", + "gogel001", + "lange309", + "dodd0306", + "onyek002", + "raybi001", + "garri325", + "vidab001", + "conte015", + "cymer001", + "ullah302", + "owens397", + "basil307" + ], + "name": "csvd_test_team", + "node_id": "MDQ6VGVhbTQ=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "csvd_test_team" + }, + { + "description": "IEB Automation team is under IEB Org", + "id": 5, + "members": [ + "winge001", + "dodd0306", + "onyek002", + "raybi001", + "garri325", + "gomez385" + ], + "name": "IEB Automation", + "node_id": "MDQ6VGVhbTU=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "Operation-Windows-OS-AD-Actions", + "Operation-Ansible-CSVD-workflow-winbuild-vmw", + "CloudForms-SERVICE_DIALOGS", + "CloudForms-REPORTS", + "CloudForms-ROLES", + "CloudForms-Email", + "CloudForms-CSVD", + "CloudForms-CSVD_Variables", + "CloudForms-BUTTONS", + "CloudForms-TAGS", + "Operation-Redhat-RHEL7-CSVD-banners", + "Ansible-Windows-Build-AZR", + "Ansible-Windows-Build-Ops", + "Ansible-Windows-Build-VMW", + "Ansible-Windows-Image-Ops", + "Ansible-Windows-Retirement-Ops", + "Operation-Redhat-RHEL7-CSVD-logrotate", + "Operation-Red_Hat-Satellite-CSVD", + "Ansible-Windows-Development", + "Ansible_Inventory_Setup", + "Operation-Redhat-RHEL7-CSVD-sshd", + "Operation-Redhat-RHEL7-CSVD-grub2", + "Operation-CSVD-podman", + "Operation-Redhat-RHEL7-CSVD-sendmail", + "Operation-Red_Hat-Ansible_Tower-CSVD", + "Operation-Redhat-RHEL7-CSVD-svc_account", + "Operations_RHEL_OS_Configurations", + "Operations-RHEL-Ansible", + "Collection-Red_Hat-RHEL_Baseline-CSVD", + "Application-Red_Hat-Ansible_Automation_Platform-CSVD", + "Operation-Redhat-RHEL7-CSVD-systemctl", + "Application-Splunk-Splunk_Universal_Forwarder-CSVD", + "Operation-Amazon-CSVD-provision_services", + "Operation-Amazon-AWS-CSVD-RHEL_AMI", + "Operation-Red_Hat-Insights-CSVD", + "Operation-GitHub-GitHub_Enterprise-CSVD", + "Ansible-Windows-Build-AZR-LAB", + "SAT6_cert_renew_PROD", + "Application-Redhat-Satellite-CSVD-certificate-renew", + "Operation-Microsoft-MDE_Linux", + "Operation-Microsoft-Azure_Connected_Machine_agent", + "Ansible-Windows-Build-AWS", + "Application-HCL-BigFix-CSVD", + "Application-Morpheus_Data-Morpheus-CSVD", + "AAP-Windows-Build-AWS", + "Ansible-Windows-Build-AWS-LAB" + ], + "slug": "ieb-automation" + }, + { + "description": "", + "id": 62, + "members": [ + "ojimi001", + "short343" + ], + "name": "Spunk Admin", + "node_id": "MDQ6VGVhbTYy", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "splunk-connect-for-syslog", + "Splunk-SC4S-gomplate" + ], + "slug": "spunk-admin" + }, + { + "description": "", + "id": 716, + "members": [], + "name": "csvd-automation", + "node_id": "MDQ6VGVhbTcxNg==", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "aws-beanstalk", + "aws-image-pipeline", + "beanstalk-flask-demo", + "aws-beanstalk-java", + "aws-beanstalk-docker", + "image-pipeline-goss-testing", + "aws-beanstalk-nodejs", + "image-pipeline-playbook", + "aws-beanstalk-php", + "windows-ami-build", + "windows-image-pipeline", + "automation-repos", + "terraform-github-repo", + "image-pipeline-ansible-playbooks", + "linux-image-pipeline", + "image-pipeline-asset-releases", + "arm-rhel-image-pipeline", + "gh-actions-setup-terraform" + ], + "slug": "csvd-automation" + } + ] + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.github_script.module.internal_github_actions", + "mode": "managed", + "type": "github_repository", + "name": "repo", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "allow_update_branch": false, + "archive_on_destroy": true, + "archived": false, + "auto_init": true, + "default_branch": "main", + "delete_branch_on_merge": true, + "description": "Imported External Github Actions Repository", + "etag": "W/\"173e1ef79d94b634e9f8e6f27f5e0ca8cc7ee3e1f6a6fc4de0a45f04a57bfeb6\"", + "full_name": "CSVD/gh-actions-github-script", + "git_clone_url": "git://github.e.it.census.gov/CSVD/gh-actions-github-script.git", + "gitignore_template": "Terraform", + "has_discussions": false, + "has_downloads": false, + "has_issues": false, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.e.it.census.gov/CSVD/gh-actions-github-script", + "http_clone_url": "https://github.e.it.census.gov/CSVD/gh-actions-github-script.git", + "id": "gh-actions-github-script", + "ignore_vulnerability_alerts_during_read": null, + "is_template": false, + "license_template": null, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "gh-actions-github-script", + "node_id": "MDEwOlJlcG9zaXRvcnkxMDA2", + "pages": [], + "primary_language": "", + "private": false, + "repo_id": 1006, + "security_and_analysis": [ + { + "advanced_security": [ + { + "status": "disabled" + } + ], + "secret_scanning": [ + { + "status": "disabled" + } + ], + "secret_scanning_push_protection": [ + { + "status": "disabled" + } + ] + } + ], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.e.it.census.gov:CSVD/gh-actions-github-script.git", + "svn_url": "https://github.e.it.census.gov/CSVD/gh-actions-github-script", + "template": [], + "topics": [ + "github-actions" + ], + "visibility": "public", + "vulnerability_alerts": false, + "web_commit_signoff_required": false + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "module": "module.repo_secrets[\"automation-repos\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:41 +0000 UTC", + "encrypted_value": "", + "id": "automation-repos:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "automation-repos", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:41 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:29 +0000 UTC", + "encrypted_value": "", + "id": "automation-repos:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "automation-repos", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:29 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:08 +0000 UTC", + "encrypted_value": "", + "id": "automation-repos:GH_TOKEN", + "plaintext_value": "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", + "repository": "automation-repos", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:08 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"automation-repos\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:54 +0000 UTC", + "id": "automation-repos:AWS_ACCESS_KEY_ID", + "repository": "automation-repos", + "updated_at": "2024-08-13 15:58:54 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"aws-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:27 +0000 UTC", + "encrypted_value": "", + "id": "aws-image-pipeline:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "aws-image-pipeline", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:27 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:31 +0000 UTC", + "encrypted_value": "", + "id": "aws-image-pipeline:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "aws-image-pipeline", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:31 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:11 +0000 UTC", + "encrypted_value": "", + "id": "aws-image-pipeline:GH_TOKEN", + "plaintext_value": "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", + "repository": "aws-image-pipeline", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:11 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ], + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"aws-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:59:56 +0000 UTC", + "id": "aws-image-pipeline:AWS_ACCESS_KEY_ID", + "repository": "aws-image-pipeline", + "updated_at": "2024-08-13 15:59:56 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"image-pipeline-ansible-playbooks\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:32 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-ansible-playbooks:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "image-pipeline-ansible-playbooks", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:32 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ], + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:34 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-ansible-playbooks:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "image-pipeline-ansible-playbooks", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:34 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:02 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-ansible-playbooks:GH_TOKEN", + "plaintext_value": "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", + "repository": "image-pipeline-ansible-playbooks", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:02 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"image-pipeline-ansible-playbooks\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:50 +0000 UTC", + "id": "image-pipeline-ansible-playbooks:AWS_ACCESS_KEY_ID", + "repository": "image-pipeline-ansible-playbooks", + "updated_at": "2024-08-13 15:58:50 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"image-pipeline-goss-testing\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:37 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-goss-testing:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "image-pipeline-goss-testing", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:37 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ], + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:21 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-goss-testing:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "image-pipeline-goss-testing", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:21 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ], + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:22 +0000 UTC", + "encrypted_value": "", + "id": "image-pipeline-goss-testing:GH_TOKEN", + "plaintext_value": "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", + "repository": "image-pipeline-goss-testing", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:22 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"image-pipeline-goss-testing\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:55 +0000 UTC", + "id": "image-pipeline-goss-testing:AWS_ACCESS_KEY_ID", + "repository": "image-pipeline-goss-testing", + "updated_at": "2024-08-13 15:58:55 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"linux-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:40 +0000 UTC", + "encrypted_value": "", + "id": "linux-image-pipeline:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "linux-image-pipeline", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:40 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:35 +0000 UTC", + "encrypted_value": "", + "id": "linux-image-pipeline:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "linux-image-pipeline", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:35 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ], + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:55:24 +0000 UTC", + "encrypted_value": "", + "id": "linux-image-pipeline:GH_TOKEN", + "plaintext_value": "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", + "repository": "linux-image-pipeline", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:55:24 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"linux-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:56 +0000 UTC", + "id": "linux-image-pipeline:AWS_ACCESS_KEY_ID", + "repository": "linux-image-pipeline", + "updated_at": "2024-08-13 15:58:56 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"windows-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_secret", + "name": "secret", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_SECRET_ACCESS_KEY", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:24 +0000 UTC", + "encrypted_value": "", + "id": "windows-image-pipeline:AWS_SECRET_ACCESS_KEY", + "plaintext_value": "MdPW8Uy/DU25fps40BcF+kcub74MnMuzzka9Bs2P", + "repository": "windows-image-pipeline", + "secret_name": "AWS_SECRET_ACCESS_KEY", + "updated_at": "2024-08-13 15:36:24 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "AWS_SESSION_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:36:42 +0000 UTC", + "encrypted_value": "", + "id": "windows-image-pipeline:AWS_SESSION_TOKEN", + "plaintext_value": "IQoJb3JpZ2luX2VjEIn//////////wEaDXVzLWdvdi1lYXN0LTEiRzBFAiALdMz7b6qc3pbE3MHEME2B0wT40CgsE9NSC/DbY1ueeAIhAMRhYal3gWoYiWcfMl0fvpZ8XFN3N3LoJbHddUjoan3nKqADCKb//////////wEQABoMMjI5Njg1NDQ5Mzk3IgysHfmQ2QuUC6jpHt4q9AIdkF7cPv6isNjjvY42VSd5NWneWv01XfaSHzdFdFJ7gDiFqzSMBI1mglYm0nf0Ws2mJLV/GA4fH4iuTwQUrMSD43bMtKqAi9kZKLULfAoHtQPC+B+uSTkM4ugbk878qSWdXI+6Z13Ah40a0Urqf3lLgEDL8znYT/ivT19wA3NGmuMBR/1srt68hi87slGzcMXLFe2WkJOskv2viqcYIFxqArQG8tSBqnxdAQWqx6GtGx4MRjGg5mlUAbyzkO7vSzONeE8Ck3AAhkena+kwl+zI7xDuJ5KN61rCRvjDqoQuvobBohWKGF7gclwI4u2603PkcNci2UuZoIdtQTeRnkgAIRV7kvxsugQG/2XwGA/jiZw0DeejQWU5bj0/pw8kMAEJMmtKIld6FzrXfyXglFdqUa0CAA9xWQ1ragfkprMfjn7f7PEzB/kTzfWcJXLCKXB31Ktd/Dsn7IVaj50FOBYxQGWypbdBJcQsvvcuDvarhv8/tGQwivnttQY6pgHCFon1UjYKG66Qi9iOKzeVNxLIsUEHNI5Kq1lzz3UrG4n/4/FUhiCBNrEfO8Fws9+7zWYx6q5EXE7CKzExU7IDqBa3/5/HeV5wGcARGuFevGXtcdcVtL5ZHZQ1oFVGFcIecn+RXHHvZMUv2q2PKG9QeZB6bS5TvxWZDGdvIYkBbRyPmxGok20sFAVnrBCVbiyEb8hSepEsVRWtdBLS973uGCsenc4v", + "repository": "windows-image-pipeline", + "secret_name": "AWS_SESSION_TOKEN", + "updated_at": "2024-08-13 15:36:42 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ], + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + }, + { + "index_key": "GH_TOKEN", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-09 19:54:56 +0000 UTC", + "encrypted_value": "", + "id": "windows-image-pipeline:GH_TOKEN", + "plaintext_value": "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", + "repository": "windows-image-pipeline", + "secret_name": "GH_TOKEN", + "updated_at": "2024-08-09 19:54:56 +0000 UTC" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "encrypted_value" + } + ], + [ + { + "type": "get_attr", + "value": "plaintext_value" + } + ] + ], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, + { + "module": "module.repo_secrets[\"windows-image-pipeline\"]", + "mode": "managed", + "type": "github_actions_variable", + "name": "variable", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "AWS_ACCESS_KEY_ID", + "schema_version": 0, + "attributes": { + "created_at": "2024-08-13 15:58:51 +0000 UTC", + "id": "windows-image-pipeline:AWS_ACCESS_KEY_ID", + "repository": "windows-image-pipeline", + "updated_at": "2024-08-13 15:58:51 +0000 UTC", + "value": "ASIATK6SR2K2YUWO7PHG", + "variable_name": "AWS_ACCESS_KEY_ID" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.env_var.data.external.var", + "module.env_var.random_string.random" + ] + } + ] + }, { "module": "module.runner", "mode": "data", @@ -16,10 +1524,10 @@ "index_key": "aws-image-pipeline", "schema_version": 0, "attributes": { - "expires_at": 1723227946, + "expires_at": 1723568385, "id": "CSVD/aws-image-pipeline", "repository": "aws-image-pipeline", - "token": "AAAAEJJPILSLCVN2YSYF7F3GWZPSU" + "token": "AAAAEJMDRGEPJBR2M7LA3WDGXOIQC" }, "sensitive_attributes": [] }, @@ -27,10 +1535,10 @@ "index_key": "image-pipeline-ansible-playbooks", "schema_version": 0, "attributes": { - "expires_at": 1723227947, + "expires_at": 1723568381, "id": "CSVD/image-pipeline-ansible-playbooks", "repository": "image-pipeline-ansible-playbooks", - "token": "AAAAEJLDJMSSGQ32JUCKTITGWZPSW" + "token": "AAAAEJOYP4G5M6VDLZPBZNTGXOIP2" }, "sensitive_attributes": [] }, @@ -38,10 +1546,10 @@ "index_key": "image-pipeline-goss-testing", "schema_version": 0, "attributes": { - "expires_at": 1723227942, + "expires_at": 1723568382, "id": "CSVD/image-pipeline-goss-testing", "repository": "image-pipeline-goss-testing", - "token": "AAAAEJJPPCC3J6BK2AJU7ADGWZPSM" + "token": "AAAAEJJFAIM42MVRAYWZFELGXOIP4" }, "sensitive_attributes": [] }, @@ -49,10 +1557,10 @@ "index_key": "linux-image-pipeline", "schema_version": 0, "attributes": { - "expires_at": 1723227944, + "expires_at": 1723568383, "id": "CSVD/linux-image-pipeline", "repository": "linux-image-pipeline", - "token": "AAAAEJIASRKNVUVOC7KRSGDGWZPSQ" + "token": "AAAAEJJ5SKQHFRHHXS7FSM3GXOIP6" }, "sensitive_attributes": [] }, @@ -60,10 +1568,10 @@ "index_key": "windows-image-pipeline", "schema_version": 0, "attributes": { - "expires_at": 1723227943, + "expires_at": 1723568387, "id": "CSVD/windows-image-pipeline", "repository": "windows-image-pipeline", - "token": "AAAAEJPFEAWLHXV7PCV2ITLGWZPSO" + "token": "AAAAEJKIPUJPW562VYIJWXLGXOIQG" }, "sensitive_attributes": [] } @@ -189,7 +1697,7 @@ "html_url": "https://github.e.it.census.gov/CSVD/image-pipeline-goss-testing", "http_clone_url": "https://github.e.it.census.gov/CSVD/image-pipeline-goss-testing.git", "id": "image-pipeline-goss-testing", - "is_template": true, + "is_template": false, "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE", "name": "image-pipeline-goss-testing", @@ -234,7 +1742,7 @@ "html_url": "https://github.e.it.census.gov/CSVD/linux-image-pipeline", "http_clone_url": "https://github.e.it.census.gov/CSVD/linux-image-pipeline.git", "id": "linux-image-pipeline", - "is_template": true, + "is_template": false, "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE", "name": "linux-image-pipeline", @@ -279,7 +1787,7 @@ "html_url": "https://github.e.it.census.gov/CSVD/windows-image-pipeline", "http_clone_url": "https://github.e.it.census.gov/CSVD/windows-image-pipeline.git", "id": "windows-image-pipeline", - "is_template": true, + "is_template": false, "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE", "name": "windows-image-pipeline", @@ -303,14 +1811,6 @@ } ] }, - { - "module": "module.runner", - "mode": "managed", - "type": "github_actions_runner_group", - "name": "rg", - "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", - "instances": [] - }, { "module": "module.runner", "mode": "managed", @@ -320,10 +1820,9 @@ "instances": [ { "index_key": "aws-image-pipeline", - "status": "tainted", "schema_version": 0, "attributes": { - "id": "2120434582617306576", + "id": "1573328396286083292", "triggers": null }, "sensitive_attributes": [], @@ -337,7 +1836,7 @@ "index_key": "image-pipeline-ansible-playbooks", "schema_version": 0, "attributes": { - "id": "194804118598394064", + "id": "8179038562173005502", "triggers": null }, "sensitive_attributes": [], @@ -348,10 +1847,10 @@ ] }, { - "index_key": "image-pipeline-goss-testing", + "index_key": "linux-image-pipeline", "schema_version": 0, "attributes": { - "id": "5336565778616734214", + "id": "7563854278815236675", "triggers": null }, "sensitive_attributes": [], @@ -362,11 +1861,10 @@ ] }, { - "index_key": "linux-image-pipeline", - "status": "tainted", + "index_key": "windows-image-pipeline", "schema_version": 0, "attributes": { - "id": "4994079606812454375", + "id": "4579749070499031657", "triggers": null }, "sensitive_attributes": [], @@ -375,19 +1873,102 @@ "module.runner.data.github_repository.repository", "module.runner.github_actions_runner_group.rg" ] - }, + } + ] + }, + { + "module": "module.tf_workspace_runners", + "mode": "data", + "type": "github_actions_registration_token", + "name": "token", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ { - "index_key": "windows-image-pipeline", + "index_key": "automation-repos", + "schema_version": 0, + "attributes": { + "expires_at": 1723568384, + "id": "CSVD/automation-repos", + "repository": "automation-repos", + "token": "AAAAEJNCK6CNXQXFFLCAP7LGXOIQA" + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.tf_workspace_runners", + "mode": "data", + "type": "github_repository", + "name": "repository", + "provider": "provider[\"registry.terraform.io/hashicorp/github\"]", + "instances": [ + { + "index_key": "automation-repos", + "schema_version": 0, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "archived": false, + "default_branch": "main", + "description": "Automation Repos for Morpheus POC", + "fork": false, + "full_name": "CSVD/automation-repos", + "git_clone_url": "git://github.e.it.census.gov/CSVD/automation-repos.git", + "has_discussions": false, + "has_downloads": false, + "has_issues": false, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.e.it.census.gov/CSVD/automation-repos", + "http_clone_url": "https://github.e.it.census.gov/CSVD/automation-repos.git", + "id": "automation-repos", + "is_template": false, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "automation-repos", + "node_id": "MDEwOlJlcG9zaXRvcnk5ODE=", + "pages": [], + "primary_language": "HCL", + "private": true, + "repo_id": 981, + "repository_license": [], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.e.it.census.gov:CSVD/automation-repos.git", + "svn_url": "https://github.e.it.census.gov/CSVD/automation-repos", + "template": [], + "topics": [ + "terraform" + ], + "visibility": "private" + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.tf_workspace_runners", + "mode": "managed", + "type": "null_resource", + "name": "register_runner", + "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", + "instances": [ + { + "index_key": "automation-repos", "schema_version": 0, "attributes": { - "id": "6846591234767840591", + "id": "2159090096050554426", "triggers": null }, "sensitive_attributes": [], "dependencies": [ - "module.runner.data.github_actions_registration_token.token", - "module.runner.data.github_repository.repository", - "module.runner.github_actions_runner_group.rg" + "module.tf_workspace_runners.data.github_actions_registration_token.token", + "module.tf_workspace_runners.data.github_repository.repository", + "module.tf_workspace_runners.github_actions_runner_group.rg" ] } ]