Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified SysOps Administrator Associate AWS Certified SysOps Administrator Associate Practice Exams 2022Exam Lab #2 –

  • AWS Certified SysOps Administrator Associate Practice Exams 2022Exam Lab #2 –

  • Tyler He

    Member
    January 13, 2022 at 10:39 pm

    Hello,

    I found that AWS Certified SysOps Administrator Associate Practice Exams 2022Exam Lab #2 – Updating a CloudFormation Stack, at Instruction #2 as below, that has problem, when Upload a template file that add these change, the system is saying ”Unresolved resource dependencies [ProdEC2Instance] in the Outputs block of the template”.

    Please check it.

    Thanks

    Tyler

    =======================

    Resources:

    myVPC:

    Type: AWS::EC2::VPC

    Properties:

    CidrBlock: 10.0.0.0/16

    EnableDnsSupport: ‘false’

    EnableDnsHostnames: ‘false’

    InstanceTenancy: default

    Tags:

    – Key: env

    Value: td-lab

    Outputs:

    ProdInstanceID:

    Description: “Production instance ID.”

    Value: !Ref ProdEC2Instance

    Export:

    Name: ‘ProdEc2Instance’

    =======================

    INSTRUCTION #2 – Create an Output to export the resource ID of the ProdEC2Instance to allow cross-stack references.

    Add this code after the Resources section to export the instance ID of the ProdEC2Instance. The Value property returns the ID of the referenced instance, in this case, the ProdEC2Instance.

    Outputs:
      ProdInstanceID:
        Description: "Production instance ID."
        Value: !Ref ProdEC2Instance
        Export:
          Name: 'ProdEc2Instance'
  • Carlo-TutorialsDojo

    Member
    January 15, 2022 at 1:47 am

    Hello Tyler,

    Please check if the CloudFormation template that you’re uploading is correct. Based on what you shared, it appears that some resources including the ‘ProdEC2Instance’ are missing from your template.

    Regards,

    Carlo @ Tutorials Dojo

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now