Skip to content

CreationTime for cloudformation stacks is always a fixed value #2099

@n9iels

Description

@n9iels

Issue description

When creating a CloudFormation stack, the CreationDate is always 2011-05-23T15:47:44Z

Steps to reproduce

  1. Prepare a CloudFormation file, for example
AWSTemplateFormatVersion: 2010-09-09
Description: My Stack
Resources:
  LambdaCodeBucket:
    Type: AWS::S3::Bucket
    Properties:
      BucketName: my-bucket
  1. Create a new stack based on this file, I used the command:
awslocal cloudformation create-stack --stack-name gch --template-body file://stack.yml
  1. List all the created stacks and confirm the CreationDate is not a present date
awslocal cloudformation list-stacks
{
    "StackSummaries": [
        {
            "StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stack/27187f13-a645-40a0-8788-62d502358216",
            "StackName": "stack",
            "TemplateDescription": "My Stack",
            "CreationTime": "2011-05-23T15:47:44Z",
            "StackStatus": "CREATE_COMPLETE"
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions