Skip to content

[ses-domain-identity] Error: Invalid count argument #32

@Script47

Description

@Script47
Terraform used the selected providers to generate the following execution
Error: Invalid count argument

  on .terraform/modules/ses_doamin_identity/ses-domain-identity/route53.tf line 14, in resource "aws_route53_record" "domain_verification":
  14:   count = local.configure_dns ? 1 : 0

The "count" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the count depends on.

Error: Invalid count argument

  on .terraform/modules/ses_doamin_identity/ses-domain-identity/route53.tf line 24, in resource "aws_route53_record" "dkim":
  24:   count = local.configure_dns && var.dkim.enabled ? 3 : 0

The "count" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the count depends on.
plan. Resource actions are indicated with the following symbols:
  + create

Terraform planned the following actions, but then encountered a problem:


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions