sample_resources/compliant-sample-stack.yml [228:254]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  DirectoryServiceInstance:
    Type: AWS::EC2::Instance
    Properties:
      ImageId: !Ref LatestAmiId
      InstanceType: t2.micro
      SubnetId:
        Ref: DirectoryServiceVPCSubnet
      SecurityGroupIds:
        - Ref: DirectoryServiceServerSG

  BusinessAppInstance:
    Type: AWS::EC2::Instance
    Properties:
      ImageId: !Ref LatestAmiId
      InstanceType: t2.micro
      SubnetId:
        Ref: BusinessAppVPCSubnet
      SecurityGroupIds:
        - Ref: BusinessAppServerSG

Outputs:
  BusinessApplicationVPC:
    Description: Business Application VPC
    Value: !Ref BusinessAppVPC
  DirectoryServiceVPC:
    Description: Active Directory VPC
    Value: !Ref DirectoryServiceVPC
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sample_resources/non-compliant-sample-stack.yml [228:254]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  DirectoryServiceInstance:
    Type: AWS::EC2::Instance
    Properties:
      ImageId: !Ref LatestAmiId
      InstanceType: t2.micro
      SubnetId:
        Ref: DirectoryServiceVPCSubnet
      SecurityGroupIds:
        - Ref: DirectoryServiceServerSG

  BusinessAppInstance:
    Type: AWS::EC2::Instance
    Properties:
      ImageId: !Ref LatestAmiId
      InstanceType: t2.micro
      SubnetId:
        Ref: BusinessAppVPCSubnet
      SecurityGroupIds:
        - Ref: BusinessAppServerSG

Outputs:
  BusinessApplicationVPC:
    Description: Business Application VPC
    Value: !Ref BusinessAppVPC
  DirectoryServiceVPC:
    Description: Active Directory VPC
    Value: !Ref DirectoryServiceVPC
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



