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

Terraform always reports firewall changes are needed #3

Closed
dghubble opened this issue Aug 13, 2017 · 0 comments · Fixed by #98
Closed

Terraform always reports firewall changes are needed #3

dghubble opened this issue Aug 13, 2017 · 0 comments · Fixed by #98

Comments

@dghubble
Copy link
Member

dghubble commented Aug 13, 2017

Bug

Environment

Platform: Digital Ocean
OS: Container Linux
Terraform: v0.10.1-dev
Ref: f044113

Actual Behavior

Terraform always reports that firewall changes need to be made when running terraform plan after successful cluster creation, even though the correct firewall rules exist. This is an issue with the upstream provider plugin: https://github.com/terraform-providers/terraform-provider-digitalocean/issues/30

$ terraform plan
  ~ module.mycluster.digitalocean_firewall.rules
      inbound_rule.3.port_range:  "0" => "all"
      inbound_rule.3.protocol:    "tcp" => "udp"
      inbound_rule.4.port_range:  "0" => "all"
      inbound_rule.4.protocol:    "udp" => "tcp"
      outbound_rule.0.port_range: "0" => ""
      outbound_rule.0.protocol:   "udp" => "icmp"
      outbound_rule.1.port_range: "0" => "all"
      outbound_rule.1.protocol:   "icmp" => "udp"
      outbound_rule.2.port_range: "0" => "all"

While annoying, its better to keep the newly added firewall rules and wait for the provider to improve than to revert the cluster firewall rules. Users can terraform apply and it won't harm the rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant