cloudposse / terraform-aws-efs-backup

Terraform module designed to easily backup EFS filesystems to S3 using DataPipeline
https://cloudposse.com/accelerate
Apache License 2.0
43 stars 33 forks source link

Resource 'aws_cloudformation_stack.sns' does not have attribute 'outputs.TopicArn' for variable 'aws_cloudformation_stack.sns.outputs.TopicArn' #36

Closed sirhopcount closed 5 years ago

sirhopcount commented 5 years ago

Hi,

I'm trying to create EFS backups using this module but I keep running into the following error:

* module.efs_backup.output.sns_topic_arn: Resource 'aws_cloudformation_stack.sns' does not have attribute 'outputs.TopicArn' for variable 'aws_cloudformation_stack.sns.outputs.TopicArn'

The current configuration of the module is:

### Backup
module "efs_backup" {
  source = "git::https://github.com/cloudposse/terraform-aws-efs-backup.git?ref=0.8.0"

  name                = "${var.name}"
  stage               = "${var.stage}"
  namespace           = "${var.namespace}"
  vpc_id              = "${module.vpc.vpc_id}"
  ssh_key_pair        = "${aws_key_pair.backupadmin.key_name}"
  efs_mount_target_id = "${element(module.efs.mount_target_ids, 0)}"

  datapipeline_config = {
    instance_type = "t2.micro"
    email         = "reports@example.com"
    period        = "24 hours"
    timeout       = "60 Minutes"
  }

  modify_security_group = "false"
}

What am I missing/doing wrong?

joshham1992 commented 5 years ago

I'm having the same issue

aknysh commented 5 years ago

addressed in https://github.com/cloudposse/terraform-aws-efs-backup/releases/tag/0.9.0