cf-terraforming
cf-terraforming copied to clipboard
The Azure Group did not included while issuing generate command
Confirmation
- [X] My issue isn't already found on the issue tracker.
- [X] I have replicated my issue using the latest version of the library and it is still present.
cf-terraforming version
cf-terraforming v0.6.3
Expected outcome
the Azure group id must be included in cloudflare_access_group when running generate command instead on return empty list
Actual outcome
the azure group did not included in generated resource as verbose log below
Click to expand!
cf-terraforming generate --resource-type "cloudflare_access_group" -a XXXXXXXXXXXXXXXXXXXX -v
DEBU[0000] initializing cloudflare-go with API Token account_Id=XXXXXXXXXXXXXXXXXXXX zone_id=
DEBU[0000] configuring Cloudflare API with account account_id=XXXXXXXXXXXXXXXXXXXX
DEBU[0002] initialising Terraform in .
DEBU[0003] reading Terraform schema for Cloudflare provider
DEBU[0004] beginning to read and build cloudflare_access_group resources
DEBU[0004] got unknown attribute configuration: key zone_id, value <nil>, value type <nil>
DEBU[0004] unexpected attribute struct type <nil> for block azure
DEBU[0004] unexpected attribute struct type <nil> for block github
DEBU[0004] unexpected attribute struct type <nil> for block gsuite
DEBU[0004] unexpected attribute struct type <nil> for block okta
DEBU[0004] unexpected attribute struct type <nil> for block saml
DEBU[0004] unexpected attribute struct type <nil> for block azure
DEBU[0004] unexpected attribute struct type <nil> for block github
DEBU[0004] unexpected attribute struct type <nil> for block gsuite
DEBU[0004] unexpected attribute struct type <nil> for block okta
DEBU[0004] unexpected attribute struct type <nil> for block saml
DEBU[0004] got unknown attribute configuration: key any_valid_service_token, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key auth_method, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key certificate, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key common_name, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key device_posture, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key email, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key email_domain, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key everyone, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key geo, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key group, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key ip, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key login_method, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key service_token, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key any_valid_service_token, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key auth_method, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key certificate, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key common_name, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key device_posture, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key email_domain, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key everyone, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key geo, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key group, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key ip, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key login_method, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key service_token, value <nil>, value type <nil>
DEBU[0004] got unknown attribute configuration: key zone_id, value <nil>, value type <nil>
resource "cloudflare_access_group" "terraform_managed_resource_a2a7d90c-a64e-45b9-afd6-5c9262a0bdf5" {
account_id = "XXXXXXXXXXXXXXXXXXXX"
name = "Azure Group Allowed"
include {
}
}
Steps to reproduce
- Integrate Idp
Azure ADwith Cloudflare Zero Trust https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/azuread/ - Go to Zero Trust then go to
My Teamsand go toGroups - Add new group with Include is
Azure Group - Paste any valid ID from Azure AD -> Groups
- Run command
cf-terraforming generate --resource-type "cloudflare_access_group" -a XXXXXXXXXXXXXXXXXXXX
References
No response
Was this issue solved? I have the same issue but with authentik OIDC