╷
│ Error: Invalid Attribute Combination
│
│ with module.hip_with_yaml.scm_hip_object.this["terraform-disk-bkp"],
│ on ../../modules/hip/main.tf line 1, in resource "scm_hip_object" "this":
│ 1: resource "scm_hip_object" "this" {
│
│ No attribute specified when one (and only one) of
│ [disk_backup.criteria.last_backup_time.not_available,disk_backup.criteria.last_backup_time.not_available.<.not_within,disk_backup.criteria.last_backup_time.not_available.<.within]
│ is required
╵
Possible solution
Steps to reproduce
Use the same configuration as my yaml example
Context
Your Environment
Version used: Terraform 1.4.6
Operating System and version (desktop or mobile): Mac OS 14.2.1
Describe the bug
_scm_hipobject resource when leveraging the attribute not_available fails to accept this value gracefully.
Configuration being used:
Resource is built this way:
Expected behavior
You should be able to specify not_available
Current behavior
Possible solution
Steps to reproduce
Context
Your Environment