Follow these steps in order to create a DynamoDB table, and then observe the drift after you have used the console to make a manual configuration change to the table:
- Paste the following code into a file on your filesystem. Give it a .yaml extension:
AWSTemplateFormatVersion: "2010-09-09"Resources: SimpleDynamoDBTable: Type: AWS::DynamoDB::Table Properties: AttributeDefinitions: - AttributeName: "Id" AttributeType: "S" KeySchema: - AttributeName: "Id" KeyType: "HASH" BillingMode: PAY_PER_REQUESTOutputs: TableName: Description: Drift Detection Example Table Value: !Ref SimpleDynamoDBTable
- Go to the CloudFormation console, and click Create stack.
- Select Upload a template to Amazon S3, and choose the file that you just ...