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

Add a filestore for the staging hub of openscapes #4503

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

GeorgianaElena
Copy link
Member

@GeorgianaElena GeorgianaElena commented Jul 26, 2024

Fixes #4461

@GeorgianaElena
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:
  + create

Terraform will perform the following actions:

  # aws_efs_backup_policy.homedirs has moved to aws_efs_backup_policy.homedirs[0]
    resource "aws_efs_backup_policy" "homedirs" {
        id             = "fs-b25253b5"
        # (1 unchanged attribute hidden)

        # (1 unchanged block hidden)
    }

  # aws_efs_backup_policy.hub_homedirs["staging"] will be created
  + resource "aws_efs_backup_policy" "hub_homedirs" {
      + file_system_id = (known after apply)
      + id             = (known after apply)

      + backup_policy {
          + status = "ENABLED"
        }
    }

  # aws_efs_file_system.homedirs has moved to aws_efs_file_system.homedirs[0]
    resource "aws_efs_file_system" "homedirs" {
        id                              = "fs-b25253b5"
        name                            = "hub-homedirs"
        tags                            = {
            "Name" = "hub-homedirs"
        }
        # (14 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # aws_efs_file_system.hub_homedirs["staging"] will be created
  + resource "aws_efs_file_system" "hub_homedirs" {
      + arn                     = (known after apply)
      + availability_zone_id    = (known after apply)
      + availability_zone_name  = (known after apply)
      + creation_token          = (known after apply)
      + dns_name                = (known after apply)
      + encrypted               = (known after apply)
      + id                      = (known after apply)
      + kms_key_id              = (known after apply)
      + name                    = (known after apply)
      + number_of_mount_targets = (known after apply)
      + owner_id                = (known after apply)
      + performance_mode        = (known after apply)
      + size_in_bytes           = (known after apply)
      + tags                    = {
          + "Name" = "hub-homedirs-staging"
        }
      + tags_all                = {
          + "Name" = "hub-homedirs-staging"
        }
      + throughput_mode         = "bursting"

      + lifecycle_policy {
          + transition_to_primary_storage_class = "AFTER_1_ACCESS"
        }
      + lifecycle_policy {
          + transition_to_ia = "AFTER_90_DAYS"
        }

      + protection (known after apply)
    }

  # aws_efs_mount_target.hub_homedirs["subnet-0048ebd5f1c78fc2f.hub-homedirs-staging"] will be created
  + resource "aws_efs_mount_target" "hub_homedirs" {
      + availability_zone_id   = (known after apply)
      + availability_zone_name = (known after apply)
      + dns_name               = (known after apply)
      + file_system_arn        = (known after apply)
      + file_system_id         = (known after apply)
      + id                     = (known after apply)
      + ip_address             = (known after apply)
      + mount_target_dns_name  = (known after apply)
      + network_interface_id   = (known after apply)
      + owner_id               = (known after apply)
      + security_groups        = [
          + "sg-00367966724e1205e",
        ]
      + subnet_id              = "subnet-0048ebd5f1c78fc2f"
    }

  # aws_efs_mount_target.hub_homedirs["subnet-0c6a10d3839a0697d.hub-homedirs-staging"] will be created
  + resource "aws_efs_mount_target" "hub_homedirs" {
      + availability_zone_id   = (known after apply)
      + availability_zone_name = (known after apply)
      + dns_name               = (known after apply)
      + file_system_arn        = (known after apply)
      + file_system_id         = (known after apply)
      + id                     = (known after apply)
      + ip_address             = (known after apply)
      + mount_target_dns_name  = (known after apply)
      + network_interface_id   = (known after apply)
      + owner_id               = (known after apply)
      + security_groups        = [
          + "sg-00367966724e1205e",
        ]
      + subnet_id              = "subnet-0c6a10d3839a0697d"
    }

  # aws_efs_mount_target.hub_homedirs["subnet-0dcca381809b80b79.hub-homedirs-staging"] will be created
  + resource "aws_efs_mount_target" "hub_homedirs" {
      + availability_zone_id   = (known after apply)
      + availability_zone_name = (known after apply)
      + dns_name               = (known after apply)
      + file_system_arn        = (known after apply)
      + file_system_id         = (known after apply)
      + id                     = (known after apply)
      + ip_address             = (known after apply)
      + mount_target_dns_name  = (known after apply)
      + network_interface_id   = (known after apply)
      + owner_id               = (known after apply)
      + security_groups        = [
          + "sg-00367966724e1205e",
        ]
      + subnet_id              = "subnet-0dcca381809b80b79"
    }

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

Changes to Outputs:
  + nfs_server_dns_list       = [
      + (known after apply),
    ]

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

@GeorgianaElena
Copy link
Member Author

Succesfully aplied, so merging the PR

@GeorgianaElena GeorgianaElena merged commit de551de into 2i2c-org:main Jul 26, 2024
3 checks passed
@GeorgianaElena GeorgianaElena deleted the openscapes-staging-efs branch July 26, 2024 11:08
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.

Switch staging hub on openscapes hub to its own EFS
1 participant