-
Notifications
You must be signed in to change notification settings - Fork 86
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
[Bug]: flux provider not inheriting correctly ssh section when flux provider is passed via module #714
Comments
Hi @dempo93 can you provide the values that are being passed into the provider from the module, please redact anything sensitive! |
Hi @swade1987 thanks for picking this up.
However after further investigation I believe the problem is not the modularization, but the fact that we are trying to update from 0.23.0 to 1.3.0, more specifically from this config:
to this config
Now my suspicion is that when the provider 1.3.0 is used to update the 0.23.0 resource DISCLAIMER: This will kill the flux namespace and all the flux managed helmreleases in your cluster. Also the
This succeeds for me and I get flux up and running. However I cannot really use it to update flux in production. Is there a safe migration procedure that allows me to move from 0.23.0 to 1.3.0? |
Oh upgrading to v1 from v0 is not a straightforward process. I haven't done it myself but there is documentation https://github.com/fluxcd/terraform-provider-flux/blob/v1.0.0/docs/guides/migrating-to-resource.md on the upgrade process. |
@dempo93 this sounds more like an issue during the upgrade process from v0 to v1. Would that be accurate? If so please see my comment above. |
Describe the bug
I am using the flux provider by initializing it with the output of a module
but this results in
My problem, and my code, is a duplicate of #531. I tested it on the latest version (1.3.0 at the time of writing)
Steps to reproduce
Follow the reproduction steps on #531
Expected behavior
flux_bootstrap_git does not error out and gets correctly initialized with the module output
Screenshots and recordings
No response
Terraform and provider versions
Terraform provider configurations
flux_bootstrap_git resource
Flux version
v2.3.0 (default)
Additional context
No response
Code of Conduct
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: