Skip to content

Commit d405856

Browse files
Gowiemosterman
andauthored
feat: updates atmos getting started for tutorial updates (#531)
Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <erik@cloudposse.com>
1 parent 61f57d7 commit d405856

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

content/tutorials/atmos-getting-started.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ WORKDIR /
8686
Few important pieces to point out here:
8787

8888
1. We're using [Geodesic]({{< relref "reference/tools.md#geodesic" >}}) as our base image. This enables us to provide a consistent, reproducible toolbox to invoke `atmos` from the command line.
89-
1. We're installing Terraform 0.14 and using that as our default `terraform` executable. Geodesic supports installing multiple concurrent versions of `terraform` using the [`update-alternatives` system](https://manpages.debian.org/stretch/dpkg/update-alternatives.1.en.html).
89+
1. We're installing Terraform 0.14 and using that as our default `terraform` executable. Geodesic supports installing multiple concurrent versions of `terraform` using the [`update-alternatives` system](https://manpages.debian.org/stretch/dpkg/update-alternatives.1.en.html).
9090
1. We're installing `atmos` as a simple binary via `apk`. This is because `atmos` is built and distributed as a [Cloud Posse linux package](https://github.com/cloudposse/packages).
9191
1. We're copying our `components/` and `stacks/` folder into the image.
9292

@@ -229,12 +229,13 @@ components:
229229
230230
fetch-weather:
231231
vars:
232-
api_key: 2a820d40d573758aa714641fc331e897
233-
unit_of_measurement: metric # Guess you're from across the pond?
232+
# Let's get the weather for a particular day.
233+
# Feel free to update to a date more relevant to you!
234+
date: 2021/03/28
234235
235236
output-results:
236237
vars:
237-
print_users_weather_enabled: false # We disable outputting via Terraform.
238+
print_users_weather_enabled: false # We disable outputting via our Terraform local-exec.
238239
239240
helmfile: {}
240241
@@ -253,7 +254,7 @@ Above we updated a couple variables to change the behavior of our terraform code
253254
atmos workflow deploy-all -s example
254255
```
255256

256-
This should run through our workflow similar to the way we did it before, but this time we'll see our temperature come back from the weather API in celsius instead of fahrenheit and we'll skip over our terraform `local-exec`'s `printf` command for pretty printing our weather data. Instead we'll just get our updated temperature as one of our `Outputs`.
257+
This should run through our workflow similar to the way we did it before, but this time we'll see our temperature come back from the weather API for the date you specified instead of today's date and we'll skip over our terraform `local-exec`'s `echo` command for pretty printing our weather data. Instead we'll just get our updated weather information as one of our `Outputs`.
257258

258259
## Conclusion
259260

0 commit comments

Comments
 (0)