Skip to content

Commit

Permalink
fixes as per master changes
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Rojas <[email protected]>
  • Loading branch information
robertojrojas committed Aug 2, 2023
1 parent 042465f commit fa5e05a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
6 changes: 3 additions & 3 deletions state/aws/dynamodb/dynamodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ type StateStore struct {

type dynamoDBMetadata struct {
// Ignored by metadata parser because included in built-in authentication profile
AccessKey string `json:"accessKey" mapstructure:"accessKey" mdignore:"true"`
SecretKey string `json:"secretKey" mapstructure:"secretKey" mdignore:"true"`
AccessKey string `json:"accessKey" mapstructure:"accessKey" mdignore:"true"`
SecretKey string `json:"secretKey" mapstructure:"secretKey" mdignore:"true"`
SessionToken string `json:"sessionToken" mapstructure:"sessionToken" mdignore:"true"`

Region string `json:"region"`
Endpoint string `json:"endpoint"`
SessionToken string `json:"sessionToken"`
Table string `json:"table"`
TTLAttributeName string `json:"ttlAttributeName"`
PartitionKey string `json:"partitionKey"`
Expand Down
13 changes: 3 additions & 10 deletions state/aws/dynamodb/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ metadata:
required: false
description: |
The AWS region to use. Ensure that DynamoDB is available in that region.
See the `Amazon DynamoDB endpoints and quotas` documentation.
url:
title: More details
url: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
title: Amazon DynamoDB endpoints and quotas
url: https://docs.aws.amazon.com/general/latest/gr/ddb.html
example: '"us-east-1"'
type: string
- name: endpoint
Expand All @@ -39,14 +40,6 @@ metadata:
The endpoint is not necessary when running against production AWS.
example: '"http://localhost:4566"'
type: string
- name: sessionToken
required: false
sensitive: true
description: |
AWS session token to use. A session token is only required if you are using
temporary security credentials.
example: '"TOKEN"'
type: string
- name: ttlAttributeName
required: false
description: |
Expand Down

0 comments on commit fa5e05a

Please sign in to comment.