Skip to content

Commit

Permalink
bug fixes (#262)
Browse files Browse the repository at this point in the history
* bug fixes

* bug fixes

* bug fixes updated

* Bump version: 3.4.1 → 3.4.2

---------

Co-authored-by: Rezabek <[email protected]>
  • Loading branch information
awsarpit and Rezabek authored May 10, 2024
1 parent db4e037 commit 212509b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[bumpversion]
current_version = 3.4.1
current_version = 3.4.2
commit = True
tag = False
22 changes: 22 additions & 0 deletions content/basics/templates/intrinsic-functions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,28 @@ aws cloudformation update-stack --stack-name cfn-workshop-intrinsic-functions --
To Verify, Go to the **Tags** tab on EC2 Console, verify that `InstanceType` tag has been created.
::::::

**Comparison between Ref and Fn::Sub**

The intrinsic function Ref returns the value of the specified parameter or resource. When you are declaring a resource in a template and you need to specify another template resource by name, you can use the Ref to refer to that other resource. In general, Ref returns the name of the resource.

Syntax for YAML template
```
Ref: logicalName
```
Syntax for the short form:
```
!Ref logicalName
```
The intrinsic function Fn::Sub substitutes variables in an input string with values that you specify. In your templates, you can use this function to construct commands or outputs that include values that aren't available until you create or update a stack.
Syntax for YAML template
```
Fn::Sub:
- String
- Var1Name: Var1Value
Var2Name: Var2Value
```
### Clean up
Follow these steps to clean up created resources:
Expand Down
2 changes: 1 addition & 1 deletion content/prerequisites/local-development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight: 300
_Setup Duration: ~15 minutes_

:::alert{type="info"}
This is only required if you are not using Cloud9 IDE for the workshop.
This is only required if you are not using Cloud9 IDE for the workshop. Else you can skip to the [Default VPC](https://catalog.workshops.aws/cfn101/en-US/prerequisites/default-vpc) section
:::

Local development for this workshop requires a number of development tools. Please install and verify these are installed correctly before proceeding with the workshop.
Expand Down
Binary file modified static/prerequisites/account/new-user-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 212509b

Please sign in to comment.