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

fix: sg arn output #56

Closed
wants to merge 3 commits into from
Closed

fix: sg arn output #56

wants to merge 3 commits into from

Conversation

dmitrijn
Copy link
Contributor

@dmitrijn dmitrijn commented May 11, 2023

what

  • When you're using external sg with setting create_security_group = false and don't want to create default one which is included in module you get response with nullable element and can't concatenate null values.
│ Error: Invalid function argument
│ 
│   on .terraform/modules/elasticache_memcached/outputs.tf line 12, in output "security_group_arn":12:   value       = join("", module.aws_security_group[*].arn)
│     ├────────────────
│     │ while calling join(separator, lists...)
│     │ module.aws_security_group is object with 4 attributes
│ 
│ Invalid value for "lists" parameter: element 0 is null; cannot concatenate null values.

@dmitrijn dmitrijn requested review from a team as code owners May 11, 2023 15:10
@dmitrijn dmitrijn requested review from florian0410 and woz5999 May 11, 2023 15:10
@z0rc
Copy link

z0rc commented May 31, 2023

This should fix a long standing issue #45.

@jamengual
Copy link

can you please run:

make precommit/terraform

outputs.tf Outdated Show resolved Hide resolved
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.

@dmitrijn thanks for the PR, please see comments

@aknysh
Copy link
Member

aknysh commented Jun 2, 2023

@dmitrijn ping :)

@dmitrijn
Copy link
Contributor Author

dmitrijn commented Jul 11, 2023

@aknysh sorry for late answer, fixed! please run tests 🙂

@dmitrijn dmitrijn requested a review from aknysh July 11, 2023 13:04
@dmitrijn
Copy link
Contributor Author

are you planning to merge this PR?

@dmitrijn
Copy link
Contributor Author

dmitrijn commented Sep 1, 2023

@aknysh ping 🙂

@dmitrijn
Copy link
Contributor Author

dmitrijn commented Sep 19, 2023

@aknysh @jamengual ping

@jamengual
Copy link

/terratest

@dmitrijn
Copy link
Contributor Author

@jamengual can you merge?

@jamengual
Copy link

can you please run:

make precommit/terraform

@dmitrijn

@adamwshero
Copy link

adamwshero commented Jan 8, 2024

This very issue is handled nicely in the redis module so I'm frustrated as to why this isn't merged so we can actually use this module instead of forking it and fixing it ourselves. https://github.com/cloudposse/terraform-aws-elasticache-redis/blob/main/main.tf#L152

Please merge? Pretty please??

@aknysh @jamengual @dmitrijn ping :-)

@Gowiem
Copy link
Member

Gowiem commented Jan 8, 2024

@adamwshero thanks for the bump. We get a lot of PRs + issues with the hundreds of modules, so it's typically a "squeaky wheels gets the oil" type of situation. If you're ever annoyed by this, feel free to ping in the #pr-reviews channel in the SweetOps slack and we're pretty responsive there.

Sadly, this PR is a bit out of date and our CI has changed which has caused it to get into a base state (or at least it looks that way to me). @dmitrijn would you mind pulling in main into your branch (or rebasing) and pushing those changes? That should restart the process and we'll hopefully be able to get this merged once our CI goes green. Thanks!

@adamwshero
Copy link

squeak squeak @dmitrijn @Gowiem

@adamwshero
Copy link

bump

@Gowiem
Copy link
Member

Gowiem commented Feb 9, 2024

@adamwshero mind forking / copying @dmitrijn's change and putting up a PR yourself that is forked from main? We can get this merged quickly, we just need CI checks to not be in the way and that means a new branch or rebase off main. Add me as a reviewer and I'll work to get it shipped 👍

@pcn
Copy link
Contributor

pcn commented Mar 1, 2024

@adamwshero mind forking / copying @dmitrijn's change and putting up a PR yourself that is forked from main? We can get this merged quickly, we just need CI checks to not be in the way and that means a new branch or rebase off main. Add me as a reviewer and I'll work to get it shipped 👍

Not @adamwshero , but I have this problem so I opened #67 since it's such a small change. Looking forward to seeing it get merged!

@Gowiem
Copy link
Member

Gowiem commented Mar 1, 2024

@adamwshero @dmitrijn this was fixed in #67 and has been released in https://github.com/cloudposse/terraform-aws-elasticache-memcached/releases/tag/0.19.1 -- Sorry for the delay and that we didn't get it done as part of this PR, but at least it's fixed! Thanks for your work here -- closing out 👍

@Gowiem Gowiem closed this Mar 1, 2024
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.

7 participants