Hi,
I’ ve two services database-backend and api-backend
In the service database-backend I would like to output the database Arn so I can use it in the api-backend service in iamrole section.
In the api-backend service I would like to get the output from database-backend service using ```
${state:my-service.var-key}
But In the database-backend I cannot output the dynamoDb table ARN
In database-backend : this is working fine
outputs:
database_events_table_name: ${self:custom.events-table-name}
In database-backend : this is not working
outputs:
database_events_table_name1: !Ref DynamoEventTable
database_events_table_name2: !GetAtt [ DynamoEventTable, Arn ]
Not working
output:
database_events_table_name_arn:
Value: !GetAtt [ DynamoEventTable, Arn ]
Value: !GetAtt [ DynamoEventTable, Arn ]
Thanks for your help