Replies: 1 comment
-
Hi team @eahefnawy, @czubocha, @overbit Can someone follow this up after 3 years? it's a hassle to automate arns and subnet/sg ids for the Kafka trigger, it seems like it cannot resolve the Ref, Import or any of them at cloudformation level, meanwhile all of them are being build at the deploy stage. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm creating a security group under resources as below:
I'm trying to refer above security group with its logical name as below:
functions:
eastClusterRawEventsProcessorFunction:
name: ${self:custom.config.department}-${self:custom.config.namespace}-EastClusterRawEventsProcessorFunction
handler: src/readInboundEvents.handler
events:
- kafka:
topic: ${self:custom.config.raw_inbound_topic, 'test-topic'}
bootstrapServers: test-server
accessConfigurations:
saslPlainAuth: ${self:custom.cc_region1.consumer_secret, 'test-secret'}
vpcSubnet:
- 'subnet-1'
**vpcSecurityGroup:
- !Ref rEventTriggerSecurityGroup **
When I deploy as above, I'm getting the following error:
Resource handler returned message: "1 validation error detected: Value 'security_group:[object Object]' at 'sourceAccessConfigurations.5.member.uRI' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9-/:_+=.@-] (Service: Lambda, Status Code: 400, Request ID: ea19db39-384e-452a-a822-3ac4226f8ff9)" (RequestToken: 77febf5d-0c79-6595-53d3-27412dae925a, HandlerErrorCode: GeneralServiceException)
I would like to know if I'm doing it correctly or not, any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions