What API permission scope is needed to create Firewalls and Rules?

Following through the guide on deploying firewall rules using Terraform, How To Deploy Secure Linodes using Cloud Firewalls and Terraform, I get the following error:

Error: failed to create Firewall: [401] Your OAuth token is not authorized to use this endpoint.

Initially I thought it might be to do with my API Token's permissions so I redid my token to have read/write to just about everything, but that made no difference.

I'm using a PAT API Token since I don't need any complex authentication controls around the API. Based on the API documentation it shows that PAT is sufficient for performing the tasks that I would like to do:

Anyone got any thoughts or encountered this issue?

ZO

1 Reply

Hi @zenone -

Adding Cloud Firewalls is a global permission, so you'll want to configure or update your token with read_write user grants.

The Linode instances you plan to use with a Cloud Firewall will also require read_write user grants.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct