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
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
|`RDS_CLUSTER_ENDPOINT_HOST_ONLY`|`1` (default) \|`0`| Whether the cluster endpoint returns the host only (which is AWS parity). If set to `0` it will return `<host>:<port>`. |
310
-
|`RDS_PG_CUSTOM_VERSIONS`|`0`\|`1` (default) | Whether to install and use custom Postgres versions for RDS (or alternatively, use default version 11). |
310
+
|`RDS_PG_CUSTOM_VERSIONS`|`0`\|`1` (default) | Whether to install and use custom Postgres versions for RDS (or alternatively, use default version 15). |
311
311
|`RDS_MYSQL_DOCKER`|`1` (default) \|`0`| Whether to disable MySQL engines (and use MariaDB instead). MySQL engine for cluster/instances will start in a new docker container. If you have troubles running MySQL in docker, you can disable the feature. |
312
312
|`MYSQL_IMAGE`|`mysql:8.0`| Defines a specific MySQL image that should be used when spinning up the MySQL engine. Only available if `RDS_MYSQL_DOCKER` is enabled. |
313
313
|`MSSQL_IMAGE`|`mcr.microsoft.com/mssql/server:2022-latest`| Defines a specific image that should be used when spinning up a SQL server engine. |
Copy file name to clipboardExpand all lines: content/en/user-guide/aws/rds/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,12 +179,12 @@ For instance, the `storage-encrypted` flag is returned as configured, but active
179
179
### PostgreSQL Engine
180
180
181
181
When you establish an RDS DB cluster or instance using the `postgres`/`aurora-postgresql` DB engine along with a specified `EngineVersion`, LocalStack will dynamically install and configure the corresponding PostgreSQL version as required.
182
-
Presently, you have the option to choose major versions ranging from 11 to 15.
183
-
If you select a major version beyond this range, the system will automatically default to version 11.
182
+
Presently, you have the option to choose major versions ranging from 11 to 16.
183
+
If you select a major version beyond this range, the system will automatically default to version 15.
184
184
185
185
It's important to note that the selection of minor versions is not available.
186
186
The latest major version will be installed within the Docker environment.
187
-
If you wish to prevent the installation of customized versions, adjusting the `RDS_PG_CUSTOM_VERSIONS` environment variable to `0` will enforce the use of the default PostgreSQL version 11.
187
+
If you wish to prevent the installation of customized versions, adjusting the `RDS_PG_CUSTOM_VERSIONS` environment variable to `0` will enforce the use of the default PostgreSQL version 15.
188
188
189
189
{{< callout >}}
190
190
While the [`DescribeDbCluster`](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html) and [`DescribeDbInstances`](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html) APIs will still reflect the initially defined `engine-version`, the actual installed PostgreSQL engine might differ.
Copy file name to clipboardExpand all lines: content/en/user-guide/aws/stepfunctions/index.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,8 @@ The key components are:
145
145
-**Test cases**: Executions of your state machine that use mocked responses.
146
146
-**Mock configuration file**: A JSON file that defines test cases, mocked states, and their response payloads.
147
147
148
-
During execution, each Task state listed in the mock file returns its associated mocked response. States not included in the file continue to invoke the corresponding emulated services, allowing a mix of mocked and real interactions.
148
+
During execution, each Task state listed in the mock file returns its associated mocked response.
149
+
States not included in the file continue to invoke the corresponding emulated services, allowing a mix of mocked and real interactions.
149
150
150
151
You can define one or more mocked payloads per Task state.
151
152
@@ -166,7 +167,8 @@ Ensure the payload structure in the mocked responses matches what the real servi
166
167
167
168
### Identify a State Machine for Mocked Integrations
168
169
169
-
Mocked service integrations apply to specific state machine definitions. The first step is to select the state machine where mocked responses should be applied.
170
+
Mocked service integrations apply to specific state machine definitions.
171
+
The first step is to select the state machine where mocked responses should be applied.
170
172
171
173
In this example, we'll use a state machine named `LambdaSQSIntegration`, defined as follows:
172
174
@@ -220,7 +222,6 @@ This file contains two top-level sections:
220
222
-**StateMachines** – Maps each state machine to its test cases, specifying which states use which mocked responses.
221
223
-**MockedResponses** – Defines reusable mock payloads, each identified by a `ResponseID`, which test cases can reference.
222
224
223
-
224
225
#### `StateMachines`
225
226
226
227
This section specifies the Step Functions state machines to mock, along with their corresponding test cases.
@@ -245,11 +246,11 @@ In the example above:
245
246
-**`StateMachineName`**: Must exactly match the name used when the state machine was created in LocalStack.
246
247
-**`TestCases`**: Named scenarios that define mocked behavior for specific `Task` states.
247
248
248
-
Each test case maps `Task` states to mock responses that define their expected behavior.
249
+
Each test case maps `Task` states to mock responses that define their expected behavior.
249
250
250
251
At runtime, if a test case is selected, the state uses the mocked response (if defined); otherwise, it falls back to calling the emulated service.
251
252
252
-
Below is a complete example of the `StateMachines` section:
253
+
Below is a complete example of the `StateMachines` section:
253
254
254
255
```json
255
256
"LambdaSQSIntegration": {
@@ -280,9 +281,10 @@ Each `ResponseID` includes one or more step keys and defines either a `Return` v
280
281
In the example above:
281
282
282
283
-`ResponseID`: A unique identifier used in test cases to reference a specific mock response.
283
-
-`step-key`: Indicates the attempt number. For example, `"0"` refers to the first try, while `"1-2"` covers a range of attempts.
284
+
-`step-key`: Indicates the attempt number.
285
+
For example, `"0"` refers to the first try, while `"1-2"` covers a range of attempts.
284
286
-`Return`: Simulates a successful response by returning a predefined payload.
285
-
-`Throw`: Simulates a failure by returning an `Error` and an optional `Cause`.
287
+
-`Throw`: Simulates a failure by returning an `Error` and an optional `Cause`.
286
288
287
289
{{< callout >}}
288
290
Each entry must have **either**`Return` or `Throw`, but cannot have both.
@@ -432,7 +434,6 @@ This tells LocalStack to apply the corresponding mocked responses from the confi
@@ -516,7 +517,7 @@ This will return the full execution history, including entries that indicate how
516
517
517
518
## Resource Browser
518
519
519
-
The LocalStack Web Application includes a **Resource Browser** for managing Step Functions state machines.
520
+
The LocalStack Web Application includes a **Resource Browser** for managing Step Functions state machines.
520
521
521
522
To access it, open the LocalStack Web UI in your browser, navigate to the **Resource Browser** section, and click **Step Functions** under **App Integration**.
0 commit comments