terraform-local
terraform-local copied to clipboard
Can't modify the auto generated localstack_providers_override.tf
Terraform v1.6.6 on darwin_arm64
Error: Unsupported argument │ │ on localstack_providers_override.tf line 84, in provider "aws": │ 84: scheduler = "http://localhost:4566" │ │ An argument named "scheduler" is not expected here.
running terraform plan gives no issue, so I believe this wrapper did not handle this scheduler argument.
On my end, I can't modify the auto generated localstack_providers_override.tf
Hi @aoi-ue! Thanks for getting in touch with us. Can you please provide a minimal example to reproduce the issue, so we can look into it what might goes wrong there? As an alternative, you have the option to create further override files which are applied in lexicolographical order, this behaviour is described in Terraform's official documentation here.
Thanks @lakkeger for the prompt reply.
https://github.com/rcybersec/terraform-aws-vpc-ec2-s3 could you please try running with this?
Hi @aoi-ue, I've run the repo's code, the only problem I've found was the image filtering which could be adjusted manually to work properly. Can you verify that your code uses the latest version of both Localstack and the terraform-local package and try again, please? If it still fails there must be some misconfigurations on your end. Let me know if anything have changed after the update so we can continue from there.
Hi @aoi-ue, Could you please verify if your issue had been resolved in the meantime please?
I'm closing this issue due to inactivity.