Open ademoverflow opened 2 years ago
This is clearly not working, but the README suggests that the feature is enabled.
I am running into the same issue with the serverless-appsync-plugin
for exposing the GraphQLApiUrl.
custom:
appName: my-app
appSync: ${file(serverless.appsync.yml)}
serverlessTerminationProtection:
stages: [ int, dev, qa, prod ]
cognitoUserPoolId: ${cf:${self:custom.infraStack}.CognitoUserPoolId}
graphQlApiUrl: !GetAtt GraphQlApi.GraphQLUrl
Did you manage to find a workaround?
Unfortunately Fn::GetAtt
isn't working out of the box. You will have to define a manual mapping as described in the Custom Resource Resolution section in the README.md. I should have made that clearer though :(
Unfortunately this manual mapping breaks integration and end-to-end tests. Is there any plan to cover all the scenarios of intrinsic functions? Thanks in advance!
Unfortunately
Fn::GetAtt
isn't working out of the box. You will have to define a manual mapping as described in the Custom Resource Resolution section in the README.md. I should have made that clearer though :(
!GetAtt GraphQlApi.GraphQLUrl
used to be resolved properly for me with serverless v2
just updated to serverless v3 and it does not work anymore, get errors:
Fn::GetAttResolvers not found in params file: devGraphQlApi.GraphQLUrl
Fn::GetAttResolvers not found in params file: RedisReplicationGroup.PrimaryEndPoint.Address
I am not sure how much its the same problem?
Does the plugin supports serverless v3?
Hello !
I am facing an issue where I create a Cloudfront distribution and I cannot get the DomainName of the resource with GetAtt.
Here is my serverless.yaml:
package.json
Firt I run:
sls deploy --stage dev --region eu-west-1
and everything is ok, my stackmy-service-dev
contains the resources.Then, when I run
sls export-env --stage dev --region eu-west-1
I get the following result:So I cannot fetch the cloudfront domain name and export it ...
Note: Ref works like a charm ! I can fetch the cloudfront ID without any error.
What am I doing wrong ?