Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't modify the auto generated localstack_providers_override.tf #43

Open
aoi-ue opened this issue Jan 17, 2024 · 4 comments
Open

Can't modify the auto generated localstack_providers_override.tf #43

aoi-ue opened this issue Jan 17, 2024 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@aoi-ue
Copy link

aoi-ue commented Jan 17, 2024

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

@lakkeger
Copy link
Collaborator

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 lakkeger self-assigned this Jan 17, 2024
@lakkeger lakkeger added the question Further information is requested label Jan 17, 2024
@aoi-ue
Copy link
Author

aoi-ue commented Jan 18, 2024

Thanks @lakkeger for the prompt reply.

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

@lakkeger
Copy link
Collaborator

lakkeger commented Jan 22, 2024

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
Copy link
Collaborator

lakkeger commented Feb 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants