-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
cloudflare_access_rule
importable for all rule types (#141)
There are currently three different levels of firewall access rules: - `user`: Applied to a personal account - `zone`: Applied to an account but restricted to a single zone - `account`: Applied to all sites within an account Prior to this commit, importing was only available for the user type which made it unusable for organisations or users with multiple zones that they wanted to manage. As a result of this change, the import identifier has changed. It now requires: - `accessRuleType`: Either `account`, `zone` or `user` (`user is pretty much a noop`) - `accessRuleIdentifier`: The ID of the access rule type you intend to use (`zone.id` or `account.id`). - `identifierValue`: The access rule ID from the API. Included here is an update to the documentation for the provider website for the new identifier values and import usage. Fixes #118
- Loading branch information
1 parent
3d78e4a
commit 2089fa9
Showing
2 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters