Closed dbougan closed 1 year ago
Apologies, I am closing this issue. This problem is that I was using the windows_386 version of the Terraform executable. This limitation is correctly mentioned on the Supported Platforms section of the README, but I overlooked that detail.
I realized when browsing the ably-control-go repo that the Key.created property is type "int": https://github.com/ably/ably-control-go/blob/67578f1e1eaa44e80877d5c8c0f8746c8dc0708a/keys.go#L19
As you'd expect, since I was using the 386 executable, it appears that type "int" was an alias for "int32" and could not store the created timestamp.
Hello. I just started using Ably and absolutely love the service. I am trying to integrate it into my Terraform project but I encountered an error which I recreated following the example in the README.
Terraform Ably Provider: 0.4.3 Terraform CLI: Terraform v1.2.8 on windows_386 (also tested with v1.4.2)
When running
terraform apply
, the resources above are all created correctly in Ably, however the API Key resource is not saved to state due to the following error:Even though the API Key is successfully created in Ably, the error means it is not saved to state and prevents me from injecting it as a variable into my other Terraform resources.