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

Setting default firewall rule #272

Closed
robinAwallace opened this issue Jun 3, 2022 · 2 comments
Closed

Setting default firewall rule #272

robinAwallace opened this issue Jun 3, 2022 · 2 comments

Comments

@robinAwallace
Copy link

Allow setting the default firewall rule from terraform, that you can do via Upcloud hub.

@ka-myl
Copy link
Contributor

ka-myl commented Jun 3, 2022

Hi @robinAwallace, this is already in progress. Not sure about the final shape of it, but there will be option to do that via TF soon :)

@ka-myl
Copy link
Contributor

ka-myl commented Jun 20, 2022

Hi @robinAwallace this should now be available in v2.5.0. You can simply do it by specifying last rule(s) like this:

firewall_rule {
    action    = "drop"
    direction = "in"
}

firewall_rule {
    action = "drop"
    direction = "out"
}

I'll close this issue, let us know if you bump into any other problems with this.

@ka-myl ka-myl closed this as completed Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants