Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference resource as singular rather than an array in output #15

Merged
merged 1 commit into from
Dec 12, 2017

Conversation

abferm
Copy link
Contributor

@abferm abferm commented Dec 11, 2017

what

  • Remove splat which returns array

why

  • Array not desired output
  • The "datapipeline_ids" output references the "aws_cloudformation_stack.datapipeline" as though it produces the array. This hasn't been the case since 8bc76ef.
Error: Error refreshing state: 1 error(s) occurred:

* module.efs_backup.output.datapipeline_ids: __builtin_StringToInt: strconv.ParseInt: parsing "DataPipelineId": invalid syntax in:

${aws_cloudformation_stack.datapipeline.*.outputs["DataPipelineId"]}

@osterman osterman merged commit 46e9332 into cloudposse:master Dec 12, 2017
@osterman osterman changed the title Fix #14: reference resource as singular rather than an array. Reference resource as singular rather than an array in output. Dec 12, 2017
@osterman osterman changed the title Reference resource as singular rather than an array in output. Reference resource as singular rather than an array in output Dec 12, 2017
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