diff --git a/spire/templates/shared-vpc/flow-logs.yml b/spire/templates/shared-vpc/flow-logs.yml index 4158f4c2f..c0aa6e26e 100644 --- a/spire/templates/shared-vpc/flow-logs.yml +++ b/spire/templates/shared-vpc/flow-logs.yml @@ -63,12 +63,12 @@ Resources: - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId } - { Key: prx:ops:environment, Value: !Ref EnvironmentType } - { Key: prx:dev:application, Value: Common } - FlowLog: + FlowLogV7: Type: AWS::EC2::FlowLog Properties: DeliverLogsPermissionArn: !GetAtt DeliverLogsRole.Arn - # LogDestinationType: cloud-watch-logs - LogGroupName: !Ref FlowLogGroup + LogDestination: !GetAtt FlowLogGroup.Arn + LogDestinationType: cloud-watch-logs ResourceId: !Ref VpcId ResourceType: VPC Tags: