Skip to content

Conversation

osterman
Copy link
Member

@osterman osterman commented Jul 20, 2018

@osterman osterman self-assigned this Jul 20, 2018
@osterman
Copy link
Member Author

osterman commented Jul 20, 2018

terraform apply results in a different error than reported by customer.

Error: Error applying plan:

1 error(s) occurred:

* module.redis.aws_elasticache_replication_group.default: 1 error(s) occurred:

* aws_elasticache_replication_group.default: Error creating Elasticache Replication Group: InvalidParameterValue: SNS topic is either invalid or it doesn't belong to the customer account:10000000
	status code: 400, request id: 912cdaeb-8bb4-11e8-8819-17e181b6cff4

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

This was caused by #13 (comment) which is now fixed

@osterman osterman requested review from aknysh and sarkis July 20, 2018 01:34

module "subnets" {
source = "git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=tags/0.3.5"
namespace = "eg"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"${var.namespace}"?

should not mix the hardcoded values with variables.
we have namespace, stage and name vars.
and all other attributes are set from vars.

Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inline comments

@osterman osterman merged commit fcb1504 into master Jul 20, 2018
@osterman osterman deleted the add-example branch July 20, 2018 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants