scastria / terraform-provider-apigee

Mozilla Public License 2.0
20 stars 17 forks source link

All the Attributes of Apigee Cache is not supported by Terraform #24

Closed NAbiKeerthana closed 3 years ago

NAbiKeerthana commented 3 years ago

Hello Scastria, My Apigee docs has the below attributes for the Environment Cache.

image

When I try to include these attributes in my cache resources,

resource "apigee_cache" "ApiTeamCache" { environment_name = var.environment_name name = "ApiTeamCache" description = "Cache OAuth2 Token POC" expiry_timeout_in_sec= 5

diskSizeInMB = 0

distributed = true

inMemorySizeInKB = 0

maxElementsInMemory = 0

maxElementsOnDisk = 0

overflowToDisk = false

persistent = false

}

I am getting the below Issue: image

Also I need to pass expiration in minutes, But I see option to set it only in seconds. How can I set the expiration to "After 5 minutes" instead of "After 5 Seconds" image

Your help and support would be appreciated. Thanks in advance !

NAbiKeerthana commented 3 years ago

Closing the issue as I found the solution.