Skip to content

Commit

Permalink
Remove flow logs resource
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed May 17, 2024
1 parent e07913b commit 66d90e7
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions spire/templates/shared-vpc/flow-logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,24 +63,24 @@ Resources:
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:application, Value: Common }
FlowLogV7:
Type: AWS::EC2::FlowLog
Properties:
DeliverLogsPermissionArn: !GetAtt DeliverLogsRole.Arn
LogDestination: !GetAtt FlowLogGroup.Arn
LogDestinationType: cloud-watch-logs
ResourceId: !Ref VpcId
ResourceType: VPC
Tags:
- { Key: Name, Value: !Sub "${RootStackName}_shared-vpc_all-traffic" }
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:application, Value: Common }
TrafficType: ALL
# FlowLog:
# Type: AWS::EC2::FlowLog
# Properties:
# DeliverLogsPermissionArn: !GetAtt DeliverLogsRole.Arn
# LogDestination: !GetAtt FlowLogGroup.Arn
# LogDestinationType: cloud-watch-logs
# ResourceId: !Ref VpcId
# ResourceType: VPC
# Tags:
# - { Key: Name, Value: !Sub "${RootStackName}_shared-vpc_all-traffic" }
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:application, Value: Common }
# TrafficType: ALL

Outputs:
LogGroupName:
Expand Down

0 comments on commit 66d90e7

Please sign in to comment.