Connections.allowTo() cannot read port values from the SSM #975
Unanswered
MoosaSaadat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to allow connections to a security group. The id and port of the security group are stored in the SSM. I tried to read these values and pass them to
allowTo()
but theFromPort
andToPort
are always null.Code:
It fails to create this ingress rule because of the validation error:
FromPort
cannot be nullBeta Was this translation helpful? Give feedback.
All reactions