Skip to content

the dataset-size doesn't allow percentages or non integers #603

@davidbIQ

Description

@davidbIQ

with the rediscloud_subscription_database resource,

I can create my db as .2 in size but I can't set an alert when it is close to that size.
Similarly there isn't an option to specify a % to alert on (with this or a different keyword)

alert {
name = "dataset-size"
value = each.value.dataset_size_in_gb * 0.85
}

│ Error: Attribute must be a whole number, got 0.17

│ with rediscloud_subscription_database.db-redispro-uswest2["mydb-prod-db"],
│ on redislabs.tf line 61, in resource "rediscloud_subscription_database" "db-redispro":
│ 61: resource "rediscloud_subscription_database" "db-redispro" {

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