localstack / localstack/terraform-local

Bug: says argument is unsupported when it is indeed supported

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
323
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I have the following terraform resource, which is valid and deploys fine:

`
resource "aws_dynamodb_kinesis_streaming_destination" "vanaheim_v3_stream_destination" {
stream_arn =
table_name =
approximate_creation_date_time_precision = "MICROSECOND"
}
`

But when trying to run locally with tflocal in docker, I get the following error:
Error: Unsupported argument An argument named "approximate_creation_date_time_precision" is not expected here.

Using latest terraform version 1.11.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported configuration in tflocal running in Docker with Terraform 1.11.3, using the aws_dynamodb_kinesis_streaming_destination resource and approximate_creation_date_time_precision. Trace where tflocal or the LocalStack provider rejects the argument and compare that behavior with the valid Terraform configuration. Done means the resource applies locally without reporting the argument as unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, terraform
Domain
cloud, devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.