Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decommission CryoCloud's EFS instance #5298

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

sgibson91
Copy link
Member

@sgibson91
Copy link
Member Author

Terraform plan output

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

Terraform will perform the following actions:

  # aws_efs_backup_policy.homedirs[0] will be destroyed
  # (because index [0] is out of range for count)
  - resource "aws_efs_backup_policy" "homedirs" {
      - file_system_id = "fs-0872256335d483d5f" -> null
      - id             = "fs-0872256335d483d5f" -> null

      - backup_policy {
          - status = "ENABLED" -> null
        }
    }

  # aws_efs_file_system.homedirs[0] will be destroyed
  # (because index [0] is out of range for count)
  - resource "aws_efs_file_system" "homedirs" {
      - arn                             = "arn:aws:elasticfilesystem:us-west-2:574251165169:file-system/fs-0872256335d483d5f" -> null
      - creation_token                  = "terraform-20221017103519541200000001" -> null
      - dns_name                        = "fs-0872256335d483d5f.efs.us-west-2.amazonaws.com" -> null
      - encrypted                       = false -> null
      - id                              = "fs-0872256335d483d5f" -> null
      - name                            = "hub-homedirs" -> null
      - number_of_mount_targets         = 3 -> null
      - owner_id                        = "574251165169" -> null
      - performance_mode                = "generalPurpose" -> null
      - provisioned_throughput_in_mibps = 0 -> null
      - size_in_bytes                   = [
          - {
              - value             = 3381997084672
              - value_in_ia       = 0
              - value_in_standard = 3381997084672
            },
        ] -> null
      - tags                            = {
          - "Name" = "hub-homedirs"
        } -> null
      - tags_all                        = {
          - "2i2c.org/cluster-name" = "nasa-cryo"
          - "ManagedBy"             = "2i2c"
          - "Name"                  = "hub-homedirs"
        } -> null
      - throughput_mode                 = "bursting" -> null
        # (3 unchanged attributes hidden)

      - lifecycle_policy {
          - transition_to_primary_storage_class = "AFTER_1_ACCESS" -> null
            # (2 unchanged attributes hidden)
        }
      - lifecycle_policy {
          - transition_to_ia                    = "AFTER_90_DAYS" -> null
            # (2 unchanged attributes hidden)
        }

      - protection {
          - replication_overwrite = "ENABLED" -> null
        }
    }

  # aws_efs_mount_target.homedirs["subnet-01a2e6b801657f974"] will be destroyed
  # (because key ["subnet-01a2e6b801657f974"] is not in for_each map)
  - resource "aws_efs_mount_target" "homedirs" {
      - availability_zone_id   = "usw2-az3" -> null
      - availability_zone_name = "us-west-2c" -> null
      - dns_name               = "fs-0872256335d483d5f.efs.us-west-2.amazonaws.com" -> null
      - file_system_arn        = "arn:aws:elasticfilesystem:us-west-2:574251165169:file-system/fs-0872256335d483d5f" -> null
      - file_system_id         = "fs-0872256335d483d5f" -> null
      - id                     = "fsmt-0b7ba7526af35427a" -> null
      - ip_address             = "192.168.79.206" -> null
      - mount_target_dns_name  = "us-west-2c.fs-0872256335d483d5f.efs.us-west-2.amazonaws.com" -> null
      - network_interface_id   = "eni-083b287a565d0de61" -> null
      - owner_id               = "574251165169" -> null
      - security_groups        = [
          - "sg-094f411783a59613d",
        ] -> null
      - subnet_id              = "subnet-01a2e6b801657f974" -> null
    }

  # aws_efs_mount_target.homedirs["subnet-0978451016f7aecaf"] will be destroyed
  # (because key ["subnet-0978451016f7aecaf"] is not in for_each map)
  - resource "aws_efs_mount_target" "homedirs" {
      - availability_zone_id   = "usw2-az1" -> null
      - availability_zone_name = "us-west-2b" -> null
      - dns_name               = "fs-0872256335d483d5f.efs.us-west-2.amazonaws.com" -> null
      - file_system_arn        = "arn:aws:elasticfilesystem:us-west-2:574251165169:file-system/fs-0872256335d483d5f" -> null
      - file_system_id         = "fs-0872256335d483d5f" -> null
      - id                     = "fsmt-0c82c216897a2e41b" -> null
      - ip_address             = "192.168.34.175" -> null
      - mount_target_dns_name  = "us-west-2b.fs-0872256335d483d5f.efs.us-west-2.amazonaws.com" -> null
      - network_interface_id   = "eni-0daff25b09597b6f6" -> null
      - owner_id               = "574251165169" -> null
      - security_groups        = [
          - "sg-094f411783a59613d",
        ] -> null
      - subnet_id              = "subnet-0978451016f7aecaf" -> null
    }

  # aws_efs_mount_target.homedirs["subnet-0b5ab806454193c98"] will be destroyed
  # (because key ["subnet-0b5ab806454193c98"] is not in for_each map)
  - resource "aws_efs_mount_target" "homedirs" {
      - availability_zone_id   = "usw2-az2" -> null
      - availability_zone_name = "us-west-2a" -> null
      - dns_name               = "fs-0872256335d483d5f.efs.us-west-2.amazonaws.com" -> null
      - file_system_arn        = "arn:aws:elasticfilesystem:us-west-2:574251165169:file-system/fs-0872256335d483d5f" -> null
      - file_system_id         = "fs-0872256335d483d5f" -> null
      - id                     = "fsmt-0352d32e3d041bf6d" -> null
      - ip_address             = "192.168.17.58" -> null
      - mount_target_dns_name  = "us-west-2a.fs-0872256335d483d5f.efs.us-west-2.amazonaws.com" -> null
      - network_interface_id   = "eni-08b4ccffea0cf8f2e" -> null
      - owner_id               = "574251165169" -> null
      - security_groups        = [
          - "sg-094f411783a59613d",
        ] -> null
      - subnet_id              = "subnet-0b5ab806454193c98" -> null
    }

Plan: 0 to add, 0 to change, 5 to destroy.

@sgibson91 sgibson91 merged commit 5c5fa8c into 2i2c-org:main Dec 19, 2024
2 checks passed
@sgibson91 sgibson91 deleted the nasa-cryo/decomm-efs branch December 19, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deploy jupyterhub-home-nfs to CryoCloud
1 participant