Getting this error in Terraform trying to set up the SSM automation doc to remediate old access keys.
Computed attributes cannot be set, but a value was set for “document_type”.
Error: Computed attributes cannot be set
on …/modules/aws-config/access-key-rotation-automation.tf line 35, in data “aws_ssm_document” “AccessKeyRotationAutomationDoc”:
35: content = <<DOC
36: description: Automation Document For resolving a User from a ResourceId
Computed attributes cannot be set, but a value was set for “content”.
but content and document_type are both set in the example usage in the terraform docs.
What am I doing wrong?