How to Force Redeployment of AWS API Gateway using AWS CloudFormation
If you have an AWS API Gateway resource, and need it to force a redeployment using CloudFormation, then you can use the TIMESTAMP trick. Example AWS CloudFormation Extract template.yaml extract: APIGatewayStage: Type: AWS::ApiGateway::Stage Properties: StageName: !Sub ${EnvironmentTagName} RestApiId: !Ref APIGateway DeploymentId: !Ref APIGatewayDeployment__TIMESTAMP__ TracingEnabled: true MethodSettings: - DataTraceEnabled: true HttpMethod: "*" LoggingLevel: INFO ResourcePath: "/*" MetricsEnabled: true APIGatewayDeployment__TIMESTAMP__: Type: AWS::ApiGateway::Deployment Properties: RestApiId: !Ref APIGateway Description: !Sub ${EnvironmentTagName} Deployment __TIMESTAMP__ APIGateway: Type: AWS::ApiGateway::RestApi Properties: Name: !...