Testing The Blueprint
Back on the IaC Catalog page in the AutoCloud app, you will now see a new item in the drafts section of your IaC catalog (if nothing shows up then refresh your browser). Go ahead and click the "Test" button. It's always a good idea to the Blueprint you've created before you publish it to make sure it lives up to your goals.

Just look at how much we've simplified the form experience for our users! The same form that we previously used before we downloaded and modified the Terraform Blueprint is now 50% shorter. Let’s go ahead and test it one more time to make sure it works, this process will be the exact same as what we did for the Initial Dry Run section of this Tutorial.

Go ahead and follow the instructions and select an environment, enter a name, and add a tag or two at the bottom of the form. When you are finished click the "Next" button on the bottom right-hand corner.

As we saw previously, on this screen, I’m able to review the code that is about to be generated as well as the parameters that were entered. Let’s click on the "Review Code" button to once again preview the code that is about to be generated.

And just as before, here is the output of what will be created. Notice that the Terraform code that will be generated is the same as the first time we used this Blueprint, even though we've hidden 50% of the fields from the end user! Blueprints can be configured to create multiple files, work with Terragrunt, and even dynamically insert Terraform code based on conditional answers. In this tutorial, we’ve really just scratched the surface of what’s possible!
Let’s go ahead and close this code window and click the “Create” button on the bottom right-hand side of the screen.

Once again, our code has now been generated and is ready to be downloaded. Had we connected GitHub or Jira, then an automatic pull request would have been made, along with a Ticket to track the infrastructure creation. As it stands, we skipped these integrations for the sake of brevity, but feel free to add them yourselves by clicking the “Add Integration” buttons.
Let's now publish the Blueprint so our team can use it!

