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

Instance count as output #121

Merged
merged 2 commits into from
Nov 19, 2019
Merged

Conversation

gabops
Copy link
Contributor

@gabops gabops commented Jul 31, 2019

Description

I have added "instance count" as output. This can be useful in scenarios like for example planning the amount of route 53 records to create by using it in combination of the rest of outputs of the module. At the moment, all the rest of the outputs cannot be used as "count" value in any other place because Terraform cannot predict how many instances will be created.

@antonbabenko antonbabenko merged commit 0516b89 into terraform-aws-modules:master Nov 19, 2019
@antonbabenko
Copy link
Member

v2.12.0 has been just released.

Thanks, @gabops !

Sebor pushed a commit to Sebor/terraform-aws-ec2-instance that referenced this pull request Aug 6, 2020
* Output for getting the amount of instances to be created that are passed as argument

* Updated documentation
@github-actions
Copy link

github-actions bot commented Nov 9, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants