Skip to content

bug: min_retention_days and max_retention_days always required #281

@fox91

Description

@fox91

🐛 AWS Backup Provider Bug

AWS Provider Version: 1.3.0

Bug Description

From 3225464, using default vault_type (standard) variables min_retention_days and max_retention_days are always required instead of being required only with logically_air_gapped.
This is the error we get:

╷
│ Error: Operation failed
│ 
│   on .terraform/modules/backup/main.tf line 20, in locals:
│   20:   retention_days_cross_valid = (var.min_retention_days == null || var.max_retention_days == null) || var.min_retention_days <= var.max_retention_days
│     ├────────────────
│     │ var.max_retention_days is null
│     │ var.min_retention_days is null
│ 
│ Error during operation: argument must not be null.
╵

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions