terraform-local icon indicating copy to clipboard operation
terraform-local copied to clipboard

Can't modify the auto generated localstack_providers_override.tf

Open aoi-ue opened this issue 1 year ago • 4 comments

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

aoi-ue avatar Jan 17 '24 07:01 aoi-ue

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.

lakkeger avatar Jan 17 '24 08:01 lakkeger

Thanks @lakkeger for the prompt reply.

https://github.com/rcybersec/terraform-aws-vpc-ec2-s3 could you please try running with this?

aoi-ue avatar Jan 18 '24 11:01 aoi-ue

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.

lakkeger avatar Jan 22 '24 08:01 lakkeger

Hi @aoi-ue, Could you please verify if your issue had been resolved in the meantime please?

lakkeger avatar Feb 18 '24 18:02 lakkeger

I'm closing this issue due to inactivity.

lakkeger avatar Jun 24 '24 11:06 lakkeger