You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/tutorials/atmos-getting-started.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ WORKDIR /
86
86
Few important pieces to point out here:
87
87
88
88
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).
90
90
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).
91
91
1. We're copying our `components/` and `stacks/` folder into the image.
92
92
@@ -229,12 +229,13 @@ components:
229
229
230
230
fetch-weather:
231
231
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
234
235
235
236
output-results:
236
237
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.
238
239
239
240
helmfile: {}
240
241
@@ -253,7 +254,7 @@ Above we updated a couple variables to change the behavior of our terraform code
253
254
atmos workflow deploy-all -s example
254
255
```
255
256
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`.
0 commit comments