Skip to content

bug: enable_ephemeral_storage broken by update to support EFS to persist Atlantis state #254

@MarkIannucci

Description

@MarkIannucci

Unfortunately this is not working if I want to have enable_ephemeral_storage=true

╷
│ Error: Invalid index
│ 
│   on .terraform/modules/atlantis/main.tf line 438, in resource "aws_efs_mount_target" "this":
│  438:   file_system_id  = aws_efs_file_system.this[0].id
│     ├────────────────
│     │ aws_efs_file_system.this is empty tuple
│ 
│ The given key does not identify an element in this collection value.
╵

there is no condition for var.enable_ephemeral_storage

Originally posted by @borissavelev in #247 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions