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

Home Forums AWS AWS Certified Solutions Architect Professional Clarification on reference versus associate instance profile (property) role Reply To: Clarification on reference versus associate instance profile (property) role

  • MaheshGupta

    Member
    June 3, 2020 at 2:54 am

    Hi Kung,

    This is cloudformation related question so you need to reference the Instance Role. please see below

    AWSTemplateFormatVersion: “2010-09-09”

    Resources:

    MyInstanceProfile:

    Type: “AWS::IAM::InstanceProfile”

    Properties:

    Path: “/”

    Roles:

    Ref: “MyRole”