Skip to content

Docs: typo aws::region in serverless framework and terraform #1706

Closed
@am29d

Description

@am29d

What were you searching in the docs?

The example of powertools with serverless framework has incorrect syntax for aws region variable:

functions:
  hello:
    handler: lambda_function.lambda_handler
    layers:
      - arn:aws:lambda:${aws::region}:094274105915:layer:AWSLambdaPowertoolsTypeScript:19

Keen in mind that we need to update the script in the workflow, so we can replace increment the layer version in the docs during release.

for pseudo_region in '{region}' '${AWS::Region}' '${aws::region}' '{aws::region}' '{env.region}' '${cdk.Stack.of(this).region}' '${aws.getRegionOutput().name}'; do

Is this related to an existing documentation section?

Getting started

How can we improve?

Review all the `aws::region` variables, including terraform.

Got a suggestion in mind?

No response

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippeddocumentationImprovements or additions to documentation

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions