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: src/content/docs/aws/services/appconfig.md
+20-22Lines changed: 20 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
2
title: "AppConfig"
3
-
linkTitle: "AppConfig"
4
3
description: Get started with AppConfig on LocalStack
5
4
tags: ["Base"]
6
5
---
@@ -10,7 +9,7 @@ AppConfig offers centralized management of configuration data and the ability to
10
9
It allows you to avoid deploying the service repeatedly for smaller changes, enables controlled deployments to applications and includes built-in validation checks & monitoring.
11
10
12
11
LocalStack allows you to use the AppConfig APIs in your local environment to define configurations for different environments and deploy them to your applications as needed.
13
-
The supported APIs are available on our [API coverage page]({{< ref "coverage_appconfig" >}}), which provides information on the extent of AppConfig's integration with LocalStack.
12
+
The supported APIs are available on our [API coverage page](), which provides information on the extent of AppConfig's integration with LocalStack.
14
13
15
14
## Getting started
16
15
@@ -25,11 +24,11 @@ You can create an AppConfig application using the [`CreateApplication`](https://
25
24
The application is a folder/directory that contains the configuration data for your specific application.
26
25
The following command creates an application named `my-app`:
27
26
28
-
{{< command >}}
29
-
$ awslocal appconfig create-application \
27
+
```bash
28
+
awslocal appconfig create-application \
30
29
--name my-app \
31
30
--description "My application"
32
-
{{< /command >}}
31
+
```
33
32
34
33
The following output would be retrieved:
35
34
@@ -45,12 +44,12 @@ You can now create an AppConfig environment for your application using the [`Cre
45
44
An environment consists of the deployment group of your AppConfig applications.
46
45
The following command creates an environment named `my-app-env`:
47
46
48
-
{{< command >}}
49
-
$ awslocal appconfig create-environment \
47
+
```bash
48
+
awslocal appconfig create-environment \
50
49
--application-id 400c285 \
51
50
--name my-app-env \
52
51
--description "My application environment"
53
-
{{< /command >}}
52
+
```
54
53
55
54
Replace the `application-id` with the ID of the application you created in the previous step.
56
55
The following output would be retrieved:
@@ -71,13 +70,13 @@ You can create an AppConfig configuration profile using the [`CreateConfiguratio
71
70
A configuration profile contains for the configurations of your AppConfig applications.
72
71
The following command creates a configuration profile named `my-app-config`:
@@ -108,14 +107,14 @@ Create a file named `feature-flag-config.json` with the following content:
108
107
You can now use the [`CreateHostedConfigurationVersion`](https://docs.aws.amazon.com/appconfig/latest/APIReference/API_CreateHostedConfigurationVersion.html) API to save your feature flag configuration data to AppConfig.
109
108
The following command creates a hosted configuration version for the configuration profile you created in the previous step:
@@ -134,13 +133,13 @@ You can now create an AppConfig deployment strategy using the [`CreateDeployment
134
133
A deployment strategy defines important criteria for rolling out your configuration to the target environment.
135
134
The following command creates a deployment strategy named `my-app-deployment-strategy`:
136
135
137
-
{{< command >}}
138
-
$ awslocal appconfig create-deployment-strategy \
136
+
```bash
137
+
awslocal appconfig create-deployment-strategy \
139
138
--name my-app-deployment-strategy \
140
139
--description "My application deployment strategy" \
141
140
--deployment-duration-in-minutes 10 \
142
141
--growth-factor 1.0
143
-
{{< /command >}}
142
+
```
144
143
145
144
The following output would be retrieved:
146
145
@@ -157,15 +156,15 @@ The following output would be retrieved:
157
156
You can now use the [`StartDeployment`](https://docs.aws.amazon.com/appconfig/latest/APIReference/API_StartDeployment.html) API to deploy the configuration.
158
157
The following command deploys the configuration to the environment you created in the previous step:
159
158
160
-
{{< command >}}
161
-
$ awslocal appconfig start-deployment \
159
+
```bash
160
+
awslocal appconfig start-deployment \
162
161
--application-id 400c285 \
163
162
--environment-id 3695ea3 \
164
163
--deployment-strategy-id f2f2225 \
165
164
--configuration-profile-id 7d748f9 \
166
165
--configuration-version 1 \
167
166
--description "My application deployment"
168
-
{{< /command >}}
167
+
```
169
168
170
169
The following output would be retrieved:
171
170
@@ -202,8 +201,7 @@ The following output would be retrieved:
202
201
The LocalStack Web Application provides a Resource Browser for managing AppConfig applications.
203
202
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the **Resource Browser** section, and then clicking on **AppConfig** under the **Developer Tools** section.
0 commit comments