Skip to content

Commit c608c7d

Browse files
committed
minor fixes
1 parent 5b82071 commit c608c7d

File tree

8 files changed

+25
-28
lines changed

8 files changed

+25
-28
lines changed

src/content/docs/aws/integrations/containers/kubernetes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ extraEnvVars:
8484
- name: LOCALSTACK_AUTH_TOKEN
8585
valueFrom:
8686
secretKeyRef:
87-
name: <name of the secret>
88-
key: <name of the key in the secret containing the API key>
87+
name: <name of the secret>
88+
key: <name of the key in the secret containing the API key>
8989
```
9090

9191
And you can use these values when installing the chart in your cluster:

src/content/docs/aws/integrations/containers/openshift.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ Copy the route URL and use it to interact with the LocalStack container.
8282
To create an S3 bucket and an SQS queue, run the following commands:
8383

8484
```bash
85-
{/* export AWS_ENDPOINT_URL='<localstack-route-url>' */} {/* mdx-disabled */}
85+
export AWS_ENDPOINT_URL='<localstack-route-url>'
8686
awslocal s3 mb s3://my-bucket
8787
awslocal sqs create-queue --queue-name my-queue
8888
```
8989

90-
{/* In the above commands, replace `<localstack-route-url>` with the route URL of the LocalStack container. */} {/* mdx-disabled */}
90+
In the above commands, replace `<localstack-route-url>` with the route URL of the LocalStack container.
9191
The `AWS_ENDPOINT_URL` environment variable is used to specify the endpoint URL of the LocalStack container.
9292

9393
:::note

src/content/docs/aws/integrations/continuous-integration/circleci.mdx

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ jobs:
152152
# LocalStack already running
153153
- run:
154154
name: Load state if exists
155-
{/* command: localstack pod load <POD_NAME> || true # Not allowed to fail yet */} {/* mdx-disabled */}
155+
command: localstack pod load <POD_NAME> || true # Not allowed to fail yet
156156
...
157157
# Deploy infrastructure changes
158158
...
159159
- localstack/cloud_pods:
160-
{/* pod_name: <POD_NAME> */} {/* mdx-disabled */}
160+
pod_name: <POD_NAME>
161161
162162
163163
workflows:
@@ -179,7 +179,7 @@ jobs:
179179
...
180180
# LocalStack already running
181181
- localstack/cloud_pods:
182-
{/* pod_name: <POD_NAME> */} {/* mdx-disabled */}
182+
pod_name: <POD_NAME>
183183
pod_action: load
184184
...
185185
# Run some tests
@@ -222,20 +222,20 @@ jobs:
222222
...
223223
# LocalStack already running
224224
- localstack/cloud_pods:
225-
{/* pod_name: <POD_NAME> */} {/* mdx-disabled */}
225+
pod_name: <POD_NAME>
226226
pod_action: load
227227
...
228228
# Deploy infrastructure
229229
...
230230
- localstack/cloud_pods:
231-
{/* pod_name: <POD_NAME> */} {/* mdx-disabled */}
231+
pod_name: <POD_NAME>
232232
pod_action: save # Optional as this is the default
233233
- run:
234234
name: Trigger other workflows
235235
# Replace placeholders with right values
236236
command: |
237237
curl --request POST \
238-
{/* --url https://circleci.com/api/v2/project/<vcs-slug>/<org-name>/<repo-name>/pipeline \ */} {/* mdx-disabled */}
238+
--url https://circleci.com/api/v2/project/<vcs-slug>/<org-name>/<repo-name>/pipeline
239239
--header 'Circle-Token: $CIRCLECI_TOKEN' \
240240
--header 'content-type: application/json' \
241241
--data '{"parameters":{"run_workflow_build":false, "run_workflow_test1":true, "run_workflow_test2":true}}'
@@ -248,23 +248,22 @@ jobs:
248248
# LocalStack already running
249249
- run:
250250
name: Load state if exists
251-
{/* command: localstack pod load <POD_NAME> || true */} {/* mdx-disabled */}
251+
command: localstack pod load <POD_NAME> || true
252252
...
253253
254254
255255
# Example workflows
256256
workflows:
257257
localstack-build:
258-
{/* when: << pipeline.parameters.run_workflow_build >> */} {/* mdx-disabled */}
258+
when: << pipeline.parameters.run_workflow_build >>
259259
jobs:
260260
- localstack-update-state
261261
localstack-test1:
262-
{/* when: << pipeline.parameters.run_workflow_test1 >> */} {/* mdx-disabled */}
263-
jobs:
262+
when: << pipeline.parameters.run_workflow_test1 >>
264263
- localstack-use-state
265264
...
266265
localstack-test2:
267-
{/* when: << pipeline.parameters.run_workflow_test2 >> */} {/* mdx-disabled */}
266+
when: << pipeline.parameters.run_workflow_test2 >>
268267
jobs:
269268
- localstack-use-state
270269
...
@@ -285,7 +284,7 @@ jobs:
285284
executor: localstack/default
286285
steps:
287286
- localstack/ephemeral:
288-
{/* auto_load_pod: <POD_NAME> # Pod to load (optional) */} {/* mdx-disabled */}
287+
auto_load_pod: <POD_NAME> # Pod to load (optional)
289288
# Commands to run (optional)
290289
preview-cmd: |
291290
awslocal sqs create-queue --queue-name=test-queue

src/content/docs/aws/integrations/continuous-integration/codebuild.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ phases:
181181
commands:
182182
...
183183
# LocalStack is up and running already
184-
{/* - localstack pod load <POD_NAME> || true */} {/* mdx-disabled */}
184+
- localstack pod load <POD_NAME> || true
185185
...
186-
{/* - localstack pod save <POD_NAME> */} {/* mdx-disabled */}
186+
- localstack pod save <POD_NAME>
187187
...
188188
```
189189

@@ -200,16 +200,15 @@ phases:
200200
uses: LocalStack/setup-localstack@v0.2.2
201201
with:
202202
state-backend: cloud-pods
203-
{/* name: <cloud-pod-name> */} {/* mdx-disabled */}
203+
name: <cloud-pod-name>
204204
action: load
205205
skip-startup: 'true'
206206
...
207207
- name: Save the Cloud Pod
208208
uses: LocalStack/setup-localstack@v0.2.2
209209
with:
210210
state-backend: cloud-pods
211-
{/* state-name: <cloud-pod-name> */} {/* mdx-disabled */}
212-
state-action: save
211+
state-name: <cloud-pod-name>
213212
...
214213
```
215214

src/content/docs/aws/integrations/continuous-integration/github-actions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ You can preserve your AWS infrastructure with Localstack in various ways.
8383
uses: LocalStack/setup-localstack@v0.2.2
8484
with:
8585
state-backend: cloud-pods
86-
{/* state-name: <cloud-pod-name> */} {/* mdx-disabled */}
86+
state-name: <cloud-pod-name>
8787
state-action: load
8888
skip-startup: 'true'
8989
@@ -93,7 +93,7 @@ You can preserve your AWS infrastructure with Localstack in various ways.
9393
uses: LocalStack/setup-localstack@v0.2.2
9494
with:
9595
state-backend: cloud-pods
96-
{/* state-name: <cloud-pod-name> */} {/* mdx-disabled */}
96+
state-name: <cloud-pod-name>
9797
state-action: save
9898
...
9999
```

src/content/docs/aws/integrations/continuous-integration/gitlab-ci.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ If the CI Auth Token activation fails, LocalStack container will exit with an er
109109
...
110110
job:
111111
variables:
112-
{/* LOCALSTACK_HOST: <LS_HOST>:<LS_PORT> */} {/* mdx-disabled */}
112+
LOCALSTACK_HOST: <LS_HOST>:<LS_PORT>
113113
script:
114114
- localstack logs | tee localstack.log
115115
...
@@ -169,10 +169,10 @@ Additional information about state export and import [here](/user-guide/state-ma
169169
...
170170
job:
171171
before_script:
172-
{/* - localstack pod load <POD_NAME> || true */} {/* mdx-disabled */}
172+
- localstack pod load <POD_NAME> || true
173173
script:
174174
...
175-
{/* - localstack pod save <POD_NAME> */} {/* mdx-disabled */}
175+
- localstack pod save <POD_NAME>
176176
...
177177
```
178178

src/content/docs/aws/integrations/continuous-integration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This enables you to incorporate LocalStack's local AWS cloud emulation in your C
1818
Let's assume that your team has an automated CI workflow into which you want to integrate end-to-end cloud testing with LocalStack.
1919
As an example, consider the following pipeline, which represents part of a simple CI workflow:
2020

21-
{/* ![An example CI/CD workflow using LocalStack](/images/aws/localstack-in-ci.svg) */} {/* mdx-disabled */}
21+
![An example CI/CD workflow using LocalStack](/images/aws/localstack-in-ci.svg)
2222

2323
The CI build is triggered by pushing code to a version control repository, like GitHub.
2424
The CI runner starts LocalStack and executes the test suite.

src/content/docs/aws/integrations/infrastructure-as-code/terraform.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ Note: You can always add providers using 'cdktf provider add' later on
390390
...
391391
```
392392
</TabItem>
393-
{/* {/* {{< tab header="TypeScript" lang="ts" >}} */} {/* mdx-disabled */} */} {/* mdx-disabled */}
394393
<TabItem label="TypeScript">
395394
```javascript
396395
$ cdktf init

0 commit comments

Comments
 (0)