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

Use splat syntax to return NG underlying resources #9

Merged
merged 3 commits into from
Jan 22, 2020
Merged

Use splat syntax to return NG underlying resources #9

merged 3 commits into from
Jan 22, 2020

Conversation

maxgio92
Copy link
Contributor

Hi,
this fixes for me the issue #7:
Unfortunately I could not reproduce the issue by testing the module only.

Since this PR #22846 on Terraform itself was merged, I think that the splat syntax is a better approach when looking for resources which instances could not exist anymore, particularly during a destroy action.

Links:

Thank you

@aknysh
Copy link
Member

aknysh commented Jan 21, 2020

/codefresh run test

@aknysh
Copy link
Member

aknysh commented Jan 21, 2020

@maxgio92 thanks for the PR. It looks good.
could you please update the cluster version in https://github.com/cloudposse/terraform-aws-eks-node-group/blob/master/examples/complete/main.tf#L45
to the latest version 0.16.0?
We added waiting for the cluster to be ready there, without it the test failed randomly.

thanks

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.

thanks @maxgio92
please see comments

@maxgio92
Copy link
Contributor Author

@maxgio92 thanks for the PR. It looks good.
could you please update the cluster version in https://github.com/cloudposse/terraform-aws-eks-node-group/blob/master/examples/complete/main.tf#L45
to the latest version 0.16.0?
We added waiting for the cluster to be ready there, without it the test failed randomly.

thanks

Yes, sure. Thank you

Update from 0.13.0 to 0.16.0.
@maxgio92
Copy link
Contributor Author

Hi @aknysh,
I updated the EKS cluster module to 0.16.0 in the main example.
Thank you

@aknysh
Copy link
Member

aknysh commented Jan 22, 2020

/codefresh run test

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.

thanks @maxgio92

@aknysh aknysh merged commit 740c50f into cloudposse:master Jan 22, 2020
@maxgio92 maxgio92 deleted the feature/return-resources-when-destroyed branch January 22, 2020 17:24
@maxgio92
Copy link
Contributor Author

Thank you @aknysh

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.

2 participants