-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Triton Provider: firewall_enabled flag is always false #6109
Comments
It outputs the host, port and user information for later plugin into terraform's connection map. It can't take advantage of Triton's CNS because of issue hashicorp/terraform#2143. It will not "converge" because the system fails to detect the firewall_enabled flag from Triton's CloudAPI, issue hashicorp/terraform#6109. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # deleted: bastion/bastion-user-script.sh # modified: bastion/main.tf # new file: bastion/ssh.config.in # new file: bastion/user-script.sh #
According to TritonDataCenter/gosdc#23 this is an issue with the vendor API. |
Should be fixed by #6119. |
Update github.com/joyent/gosdc/... Test does the minimum described in hashicorp#6109, i.e. - Start a small instance, t4-standard-128M - Check firewall is enabled - Change configuration to disable firewall - Check firewall is disabled. Fixes hashicorp#6119.
Update github.com/joyent/gosdc/... Test does the minimum described in hashicorp/terraform#6109, i.e. - Start a small instance, t4-standard-128M - Check firewall is enabled - Change configuration to disable firewall - Check firewall is disabled. Fixes #6119.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
The Triton provider is not picking up the correct state of the firewall in a machine, it always reports it as false.
Steps to reproduce:
terraform plan
andterraform apply
. Everything works fine.terraform show | grep firewall_enabled
. It will show "false"triton inst get bastion | grep firewall_enabled
. It will show "true"If we run
terraform plan
again, it will create a rule trying to switch the firewall back to enabled, and will recreate the firewall resources.The text was updated successfully, but these errors were encountered: