Ahmed Elbayaa

Results 6 comments of Ahmed Elbayaa

Thanks a lot guys. I was able to reproduce the issue. the problem is in [this](https://github.com/aws/serverless-application-model/blob/5e2e61bc459da259cb3f9256ee6fe33ec28d5591/samtranslator/model/api/http_api_generator.py#L224-L230) peace of code. We raise an exception if the `Domain` is provided but without...

Unfortunately, no progress I'm aware of at the time. Conditionally defining `AWS::Serverless::Api` resources seems to be the current work around. I think if you define your template in yaml, you...

Thanks a lot @ChristianMarchetta for the suggestion, I will label this for internal review. But my concern is about the method-specific configurations, like [RequestParameters](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-api.html#sam-function-api-requestparameters) for example. Also, it is a...

@soumenrock You are trying to create IAM::Roles in your template (genericRole, CodeDeployAssetOverrideRole) while you don't have the `iam:CreateRole` permission. That is why the deployment is failing.

@mikasd I tried your template and you are right; SAM always creates an IAM Role for the API that triggers that state-machine ([StateMachineApiEventRole](https://github.com/aws/serverless-application-model/blob/16fa8522d596a153965d6801943249276b8d974b/samtranslator/model/stepfunctions/events.py#L309-L310)) I think a new attribute "Role" is...

@benkehoe Do you think a separate section is still a better experience? regarding @diegogurpegui 's idea, I believe the current experience can be improved to handle it. right?