Open FrelliBB opened 1 month ago
Hey @FrelliBB 👋
I'm currently refactoring tasks, do you have any special characters (spaces, dots, quotes, parentheses, etc.) in the hidden value (here: ${data.aws_caller_identity.current.account_id}
)? It would help me test the tasks to track the error and test it with the previous / current implementation.
Thanks for the quick reply. data.aws_caller_identity.current.account_id
is an AWS account id so it's just a 12 digit number. Didn't share our actual value for security reasons but it would be something like 987654321000
.
Just confirmed that the error occurs in the "old" version and the current refactored version works. I'll try to see if there's any workaround for this in the older version (If I won't find it today, I'll check tomorrow).
The following workarounds for now:
We are happy to skip the upgrade 0.97.0 and wait for a correct fix. Would that be possible or would the fix be targeting GA and require a longer wait? For context we spotted this issue on automated dependabot upgrades from 0.96.0 to 0.97.0, so we can skip this version for now.
Ok 👍 the fix should be a part of 0.98.0 or 0.99.0, but it will most likely come with additional changes (e.g. field renames, etc.) that have to be migrated. That's because the refactor of tasks is done as part of preparing GA objects for v1, and all the changes will be listed in the migration guide.
Hello, I also have the same problem with @FrelliBB with the version 0.97.0. Thanks for this now I can understand why my imports are failing. Will wait for the refactor for the task 👍
Terraform CLI Version
1.9.6
Terraform Provider Version
0.97.0
Terraform Configuration
Category
category:resource
Object type(s)
resource:task
Expected Behavior
Resource is created normally.
Actual Behavior
Terraform plan fails with.
Steps to Reproduce
Use the configuration and run Terraform apply.
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
It looks like it might be related to https://github.com/Snowflake-Labs/terraform-provider-snowflake/pull/3086/files#diff-cb7f0da2beafb1e661c9b5cfd7df2f625e57b4e8af1aa913257fa4901bfd9846R466. I checked the migration guide but didn't see anything about this change in it.
Would you like to implement a fix?