cf-terraforming icon indicating copy to clipboard operation
cf-terraforming copied to clipboard

Add generate support for Cloudflare Teams/Zero Trust resources

Open rukia-a opened this issue 3 years ago • 1 comments

Current cf-terraforming version

v0.7.4

Description

This issue is requesting configuration generation support for Cloudflare Teams/Zero Trust resource to help pre-existing accounts migrate into terraform.

Use cases

These resources would allow for easier migration to terraform for future management, and would provide visibility into configurations set in Cloudflare Teams/Zero Trust for those who initially set it up outside of terraform.

Additionally, because the resource's product is something that impacts end-user network traffic, this configuration would need to be completely replicated in order to move to management with terraform with minimal disruption for those with it deployed.

Potential cf-terraforming usage

cf-terraforming generate --token $CLOUDFLARE_API_TOKEN -a $CLOUDFLARE_ACCOUNT_ID --resource-type "cloudflare_teams_account"

cf-terraforming generate --token $CLOUDFLARE_API_TOKEN -a $CLOUDFLARE_ACCOUNT_ID --resource-type "cloudflare_teams_list"

cf-terraforming generate --token $CLOUDFLARE_API_TOKEN -a $CLOUDFLARE_ACCOUNT_ID --resource-type "cloudflare_teams_location"

cf-terraforming generate --token $CLOUDFLARE_API_TOKEN -a $CLOUDFLARE_ACCOUNT_ID --resource-type "cloudflare_teams_proxy_endpoint"

cf-terraforming generate --token $CLOUDFLARE_API_TOKEN -a $CLOUDFLARE_ACCOUNT_ID --resource-type "cloudflare_teams_rule"

References

No response

rukia-a avatar Jun 17 '22 22:06 rukia-a

Hello, having cloudflare_teams_rule will be awesome due to the fact that the actual implementation is hard to understand and maintain on terraform using cloudflare provider

vDMG avatar Aug 09 '22 15:08 vDMG

Adding support for everything mentioned but cloudflare_teams_account in this PR https://github.com/cloudflare/cf-terraforming/pull/669

devinbfergy avatar Jan 12 '24 04:01 devinbfergy