Creating a portfolio

What are we going to do?

This tutorial will walk you through “Creating a portfolio” with a spoke account.

We will assume you have installed Service Catalog Puppet correctly.

We are going to perform the following steps:

  • create a portfolio file
  • commit our portfolio file
  • verify the framework has created an AWS Service Catalog portfolio

During this process you will check your progress by verifying what the framework is doing at each step.

Step by step guide

Here are the steps you need to follow to “Creating a portfolio”

Adding the portfolio to the framework

  • Navigate to the ServiceCatalogFactory CodeCommit repository

  • Click on portfolios and then on reinvent.yaml and finally on edit if that file exists otherwise create a file named portfolios/reinvent.yaml

  • Add the following to the end of the file (be careful with your indentation):

  - DisplayName: "cloud-engineering-governance"
    Description: "Portfolio containing the products needed to govern AWS accounts"
    ProviderName: "cloud-engineering"
      - "arn:aws:iam::${AWS::AccountId}:role/TeamRole"
      - Key: "type"
        Value: "governance"
      - Key: "creator"
        Value: "cloud-engineering"
      - Key: "cost-center"
        Value: "cloud-engineering"

Once you have updated the file fill in the fields for Author name, Email address, Commit message and hit Commit changes

Using a good / unique commit message will help you understand what is going on later.

Verify the portfolio was created

Once you have made your changes the ServiceCatalogFactory Pipeline should have run or if you were quick may still be running. If it has not yet started feel free to the hit the Release change button.

Once it has completed it should show the Source and Build stages in green to indicate they have completed successfully:

Once you have verified the pipeline has run you can go to Service Catalog portfolios to view your portfolio.

You should see the portfolio you just created listed:

You have now successfully created a portfolio!