-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: rename environment variables passed to hello apps (#29)
Following latest spec updates, changes the names of env variables to match what we call them in the LD UI and docs.
- Loading branch information
1 parent
f9d7025
commit c5f14e2
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,15 @@ inputs: | |
description: 'AWS role ARN used to pull SDK keys' | ||
required: true | ||
use_server_key: | ||
description: 'Populate LAUNCHDARKLY_SERVER_KEY with a server-side SDK if true' | ||
description: 'Populate LAUNCHDARKLY_SDK_KEY with a server-side SDK key if true' | ||
required: false | ||
default: 'false' | ||
use_client_key: | ||
description: 'Populate LAUNCHDARKLY_CLIENT_KEY with a server-side SDK if true' | ||
description: 'Populate LAUNCHDARKLY_CLIENT_SIDE_ID with a client-side ID if true' | ||
required: false | ||
default: 'false' | ||
use_mobile_key: | ||
description: 'Populate LAUNCHDARKLY_MOBILE_KEY with a server-side SDK if true' | ||
description: 'Populate LAUNCHDARKLY_MOBILE_KEY with a mobile key if true' | ||
required: false | ||
default: 'false' | ||
|
||
|
@@ -30,14 +30,14 @@ runs: | |
name: 'Get the server SDK key' | ||
with: | ||
aws_assume_role: ${{ inputs.role_arn }} | ||
ssm_parameter_pairs: '/sdk/common/hello-apps/server-key = LAUNCHDARKLY_SERVER_KEY' | ||
ssm_parameter_pairs: '/sdk/common/hello-apps/server-key = LAUNCHDARKLY_SDK_KEY' | ||
|
||
- uses: launchdarkly/gh-actions/actions/[email protected] | ||
if: ${{ inputs.use_client_key == 'true' }} | ||
name: 'Get the client SDK key' | ||
with: | ||
aws_assume_role: ${{ inputs.role_arn }} | ||
ssm_parameter_pairs: '/sdk/common/hello-apps/client-key = LAUNCHDARKLY_CLIENT_KEY' | ||
ssm_parameter_pairs: '/sdk/common/hello-apps/client-key = LAUNCHDARKLY_CLIENT_SIDE_ID' | ||
|
||
- uses: launchdarkly/gh-actions/actions/[email protected] | ||
if: ${{ inputs.use_mobile_key == 'true' }} | ||
|