-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #517 from cucxabong/import-account-access-rules
Support import 'cloudflare_access_rule' account & zone scope
- Loading branch information
Showing
3 changed files
with
91 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1095,13 +1095,15 @@ Example using a Cloudflare API Key and corresponding email: | |
``` | ||
export CLOUDFLARE_API_KEY=[CLOUDFLARE_API_KEY] | ||
export CLOUDFLARE_EMAIL=[CLOUDFLARE_EMAIL] | ||
export CLOUDFLARE_ACCOUNT_ID=[CLOUDFLARE_ACCOUNT_ID] | ||
./terraformer import cloudflare --resources=firewall,dns | ||
``` | ||
|
||
or using a Cloudflare API Token: | ||
|
||
``` | ||
export CLOUDFLARE_API_TOKEN=[CLOUDFLARE_API_TOKEN] | ||
export CLOUDFLARE_ACCOUNT_ID=[CLOUDFLARE_ACCOUNT_ID] | ||
./terraformer import cloudflare --resources=firewall,dns | ||
``` | ||
|
||
|
@@ -1329,15 +1331,15 @@ Example: | |
# Using Service Accounts | ||
export GOOGLE_CREDENTIALS=/path/to/client_secret.json | ||
export IMPERSONATED_USER_EMAIL="[email protected]" | ||
# Using Application Default Credentials | ||
gcloud auth application-default login \ | ||
--client-id-file=client_secret.json \ | ||
--scopes \ | ||
https://www.googleapis.com/auth/gmail.labels,\ | ||
https://www.googleapis.com/auth/gmail.settings.basic | ||
./terraformer import gmailfilter -r=filter,label | ||
./terraformer import gmailfilter -r=filter,label | ||
``` | ||
|
||
List of supported GmailFilter resources: | ||
|
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