Skip to content

Update sandbox.tf #29

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Update sandbox.tf #29

merged 1 commit into from
Oct 18, 2024

Conversation

arnol377
Copy link
Collaborator

No description provided.

@runners
Copy link

runners bot commented Oct 18, 2024

Terraform Plan 📖success

Show Plan


Note: Objects have changed outside of Terraform

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

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

        # (1 unchanged block hidden)
    }

  # module.centralized-actions.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"f59de99c7fe206cfe828c2ce1e953e36c8cd8d32003a03ec0607d32fd57a61c2\"" -> "W/\"6a20a71be31def711c819658bd308e54d5eaaa39090e2bc06dd6e75c7784ba98\""
        id                          = "centralized-actions"
        name                        = "centralized-actions"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.ghe_runners.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"7eca1a3223c10355a54f605213f63d12c881720981ab79c4f5a42b95ab726130\"" -> "W/\"4495e1cd485df06339259ed9af50d33205b8eee5a756c0433f84bd26713d5ebc\""
        id                          = "ghe-runners"
        name                        = "ghe-runners"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.opensearch.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"d259f769e8f0f8324563d56dfd04e1c9b5006e6f2c13e3102a1ae02e5b990dd2\"" -> "W/\"90908e887ee6cfce98d1d9f1639dc79d2802bbf43d09b9d47e971e8720c0c8e8\""
        id                          = "opensearch"
        name                        = "opensearch"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.repo_list["aws-secrets"].github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"942b98edad1046177a622f216ec1bab218f0b21a1e8406270dc1994437c10783\"" -> "W/\"ea3d922cf46648685fb03a2b69b3f6d7e9910452536466105d943c5c5c98a07a\""
        id                          = "aws-secrets"
        name                        = "aws-secrets"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.repo_list["github-runner-image"].github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"af5cd98368b7315a17b0d4895fb7f3e69460b086f6061785e9c279b6868f2ceb\"" -> "W/\"8cefb751861c2e33e9182d364bee0c09d52425863ef9391b608398e15fa56e77\""
        id                          = "github-runner-image"
        name                        = "github-runner-image"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.repo_list["morpheus-repos"].github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"f10058053c5860839d83ef2cdae6b8f181094c0adaeb060db2ba94eca540d31e\"" -> "W/\"802c9683b1803a732f84c84d36af84afa8ec92ef22e4a450ff5f8e516f430f70\""
        id                          = "morpheus-repos"
        name                        = "morpheus-repos"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.repo_list["supervisord-conf"].github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"b7e7deebb2ea1f1a00cd8f690a00ab9b118776fe673be9274b9daf129babcec1\"" -> "W/\"d3a682023a24e3de4404aa7d2ed89b6497d86db3eb121bc745c578a2db77741e\""
        id                          = "supervisord-conf"
        name                        = "supervisord-conf"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.repo_list["terraform-git-workspace"].github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"8a2869fbe9b9923afa3dac7fcae7f4a64f48120d4214309496ecfce5bf1d787b\"" -> "W/\"8cb4a06f901afed276306058cf4e8cc1c7841b931a7de65c9e0ecc5da14d76bc\""
        id                          = "terraform-git-workspace"
        name                        = "terraform-git-workspace"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.repo_list["tf-tools"].github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"25cbc01879d47ad8e41da55b111db6535c6c270ea712f50e1e958846fa63df48\"" -> "W/\"8dcfb3a56a468cbb6fdda28f0140f3c7dbc879449ae220baa633d3bafd49468e\""
        id                          = "tf-tools"
        name                        = "tf-tools"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.setup_node.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"266491e2ff10153f5c8dbcf64618ad4f3a0adc88a2b1bbc8a41d78737eb7ed69\"" -> "W/\"cb5fb44fcb26010ac86391b6f95c94997b25d41926386a25bc220628c6d3147a\""
        id                          = "gh-actions-setup-node"
        name                        = "gh-actions-setup-node"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.setup_terraform.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"a8eadc017d7389c4c0b6b24e374243044392b6d9845d8e9783981a5418f90687\"" -> "W/\"22d74b24efbbbf8cb71a133a39ea3ae2fad1aad6d4186c6e81def24d394ef070\""
        id                          = "gh-actions-setup-terraform"
        name                        = "gh-actions-setup-terraform"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.vpc_services.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"6a9a0db702bb97972963ed40a2567a5b55cfcb5633890d385cd11f544dfef91c\"" -> "W/\"8a3f9e775309a253de43bc2bf0755fb6000020773722f9784d16054c96a20dde\""
        id                          = "vpc-services"
        name                        = "vpc-services"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.netbackup_automation_platform.module.internal_github_actions.github_repository.repo has changed
  ~ resource "github_repository" "repo" {
      ~ etag                        = "W/\"edc6569b07614144e23026377a84b837b52d1120e43cc3bd40ffee6801663e1c\"" -> "W/\"749e8b8cf726694f868c53660de4016e99c90a82ff198737424c5bb724030a40\""
        id                          = "netbackup-automation-platform"
        name                        = "netbackup-automation-platform"
        # (37 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }


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

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

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  - destroy

Terraform will perform the following actions:

  # module.netbackup_automation_platform.local_file.script will be created
  + resource "local_file" "script" {
      + content              = <<-EOT
            git clone --bare https://github.com/VeritasOS/netbackup-automation-platform.git .terraform/modules/netbackup_automation_platform/netbackup-automation-platform
            cd .terraform/modules/netbackup_automation_platform/netbackup-automation-platform
            git fetch
            git remote add internal git@github.e.it.census.gov:CSVD/netbackup-automation-platform.git
            git push internal --force --mirror
            rm -rf .terraform/modules/netbackup_automation_platform/netbackup-automation-platform
        EOT
      + content_base64sha256 = (known after apply)
      + content_base64sha512 = (known after apply)
      + content_md5          = (known after apply)
      + content_sha1         = (known after apply)
      + content_sha256       = (known after apply)
      + content_sha512       = (known after apply)
      + directory_permission = "0777"
      + file_permission      = "0777"
      + filename             = ".terraform/modules/netbackup_automation_platform/import.sh"
      + id                   = (known after apply)
    }

  # module.sandbox["arnol377-sandbox"].github_repository.repo will be destroyed
  # (because module.sandbox["arnol377-sandbox"] is not in configuration)
  - resource "github_repository" "repo" {
      - allow_auto_merge            = false -> null
      - allow_merge_commit          = false -> null
      - allow_rebase_merge          = false -> null
      - allow_squash_merge          = true -> null
      - allow_update_branch         = false -> null
      - archive_on_destroy          = true -> null
      - archived                    = false -> null
      - auto_init                   = true -> null
      - default_branch              = "main" -> null
      - delete_branch_on_merge      = true -> null
      - description                 = "Sandbox - arnol377-sandbox" -> null
      - etag                        = "W/\"936d612ed1f758d90c3781f15e25c89e3ac2b5e3be87cc9ce300b9b70ef9972e\"" -> null
      - full_name                   = "CSVD/arnol377-sandbox" -> null
      - git_clone_url               = "git://github.e.it.census.gov/CSVD/arnol377-sandbox.git" -> null
      - gitignore_template          = "Terraform" -> null
      - has_discussions             = false -> null
      - has_downloads               = false -> null
      - has_issues                  = false -> null
      - has_projects                = true -> null
      - has_wiki                    = true -> null
      - html_url                    = "https://github.e.it.census.gov/CSVD/arnol377-sandbox" -> null
      - http_clone_url              = "https://github.e.it.census.gov/CSVD/arnol377-sandbox.git" -> null
      - id                          = "arnol377-sandbox" -> null
      - is_template                 = false -> null
      - merge_commit_message        = "PR_TITLE" -> null
      - merge_commit_title          = "MERGE_MESSAGE" -> null
      - name                        = "arnol377-sandbox" -> null
      - node_id                     = "MDEwOlJlcG9zaXRvcnkxMDIw" -> null
      - primary_language            = "HCL" -> null
      - private                     = false -> null
      - repo_id                     = 1020 -> null
      - squash_merge_commit_message = "COMMIT_MESSAGES" -> null
      - squash_merge_commit_title   = "COMMIT_OR_PR_TITLE" -> null
      - ssh_clone_url               = "git@github.e.it.census.gov:CSVD/arnol377-sandbox.git" -> null
      - svn_url                     = "https://github.e.it.census.gov/CSVD/arnol377-sandbox" -> null
      - topics                      = [
          - "terraform",
        ] -> null
      - visibility                  = "public" -> null
      - vulnerability_alerts        = false -> null
      - web_commit_signoff_required = false -> null
        # (1 unchanged attribute hidden)

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

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

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

Pusher: @arnol377, Action: pull_request, Working Directory: ``, Workflow: Terraform Plan

Copy link
Collaborator

@morga471 morga471 left a comment

Choose a reason for hiding this comment

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

LGTM

@morga471 morga471 merged commit 4227482 into main Oct 18, 2024
1 check passed
@morga471 morga471 deleted the cleanup_arnol377_sandbox branch October 18, 2024 16:45
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
2 participants