Skip to content

The configuration for the given import module.organization.google_org_policy_policy.default["essentialcontacts.allowedContactDomains"] does not exist. #2614

Closed Answered by juliocc
bjoerntcex asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure what's going on. Can you confirm you have the following lines in your codebase?

org_policies = var.bootstrap_user != null ? {} : {
"essentialcontacts.allowedContactDomains" = {
rules = [
{
allow = { values = local.essential_contacts_domains }
condition = {
expression = (
"!resource.matchTag('${local.org_policies_tag_name}', 'allowed-essential-contacts-domains-all')"
)
}
},
{
allow = { all = true }
condition = {
expression = (
"resource.matchTag('${local.org_policies_tag_name}', 'allowed-essential-con…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@bjoerntcex
Comment options

@juliocc
Comment options

Answer selected by bjoerntcex
@bjoerntcex
Comment options

@bjoerntcex
Comment options

@juliocc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants