-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' of github.com:FusionAuth/fusionauth-site i…
…nto development
- Loading branch information
Showing
26 changed files
with
779 additions
and
552 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
name: lambda-site-origin-request-handler | ||
|
||
env: | ||
AWS_REGION: us-east-1 | ||
|
||
on: | ||
push: | ||
branches: | ||
- development | ||
paths: | ||
- 'src/lambdas/site-origin-request-handler/src/index.mjs' | ||
- 'src/lambdas/site-origin-request-handler/terraform/**' | ||
pull_request: | ||
branches: | ||
- development | ||
paths: | ||
- 'src/lambdas/site-origin-request-handler/src/index.mjs' | ||
- 'src/lambdas/site-origin-request-handler/terraform/**' | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
deploy: | ||
runs-on: fusionauth-standard | ||
container: 752443094709.dkr.ecr.us-west-2.amazonaws.com/gha-runner-ubuntu-22.04:bootstrap-05 | ||
steps: | ||
|
||
- name: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
src | ||
- name: set aws credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
role-chaining: true | ||
role-to-assume: arn:aws:iam::752443094709:role/github-actions | ||
role-session-name: github-actions | ||
aws-region: ${{ env.AWS_REGION }} | ||
|
||
- name: setup terraform | ||
uses: hashicorp/setup-terraform@v2 | ||
with: | ||
terraform_version: 1.6.2 | ||
|
||
- name: terraform plan | ||
if: github.event_name == 'pull_request' | ||
working-directory: src/lambdas/site-origin-request-handler/terraform | ||
shell: bash | ||
run: terraform init && terraform plan | ||
|
||
- name: terraform apply | ||
if: github.event_name == 'push' | ||
working-directory: src/lambdas/site-origin-request-handler/terraform | ||
shell: bash | ||
run: terraform init && terraform apply -auto-approve |
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
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 |
---|---|---|
|
@@ -50,3 +50,6 @@ node_modules | |
.savant/cache | ||
|
||
astro/.astro | ||
|
||
# Local .terraform directories | ||
**/.terraform/* |
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
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
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
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
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
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
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
4 changes: 2 additions & 2 deletions
4
astro/src/content/docs/_shared/_premium-edition-blurb-api.astro
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
const { feature } = Astro.props; | ||
--- | ||
{feature && <><strong>Note:</strong>A paid plan is required to utilize {feature}.</>} | ||
{!feature && <><strong>Note:</strong>A paid plan is required to utilize <slot></slot>.</>} | ||
{feature && <><strong>Note:</strong> A paid plan is required to utilize {feature}.</>} | ||
{!feature && <><strong>Note:</strong> A paid plan is required to utilize <slot></slot>.</>} | ||
|
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
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
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
Oops, something went wrong.