Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update screenshots for new app shell #100

Merged
merged 10 commits into from
Dec 14, 2023
Binary file modified content/en/get-started/lambda/deploy-details.webp
Binary file not shown.
Binary file modified content/en/get-started/lambda/deployed-function-list.webp
Binary file not shown.
Binary file modified content/en/get-started/lambda/function-test.webp
Binary file not shown.
37 changes: 16 additions & 21 deletions content/en/get-started/lambda/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,11 @@ Confirm the device code in your browser when prompted. Then return to this guide

## Create S3 buckets

You need to store your AWS Lambda function as a zip file in an S3 bucket, and S3 bucket needs to be in the same region you deploy to. For this guide, you are going to deploy the AWS Lambda function to four regions so you need to create four buckets:
You need to store your AWS Lambda function as a zip file in an S3 bucket, and S3 bucket needs to be in the same region you deploy to.

For this guide you are going to need to create S3 buckets in four regions, us-east-1, us-east-2, us-west-1, and us-west-2 . You reference these buckets as `<my-bucket-prefix>-<region>` (i.e `<my-bucket-prefix>-us-west-1` ).

| Region | Bucket Name |
| ---------|----------|
| us-east-1 | armory-demo-east-1 |
| us-east-2 | armory-demo-east-2 |
| us-west-1 | armory-demo-west-1 |
| us-west-2 | armory-demo-west-2 |

Create each bucket by entering `<my-bucket-prefix>-<region>` into the **Bucket Name** field.
Use the default values for the rest of the fields.

After you have finished, you should have four buckets.
Expand Down Expand Up @@ -106,13 +101,13 @@ const potatolessFacts = [
</details>

1. <a href="/get-started/lambda/files/just-sweet-potatoes.zip" download>Download the function zip file</a>.
1. Upload the file to each of your `armory-demo-lambda-deploy` S3 buckets.
1. Upload the file to each of your `<my-demo-prefix>` S3 buckets.
1. Make a note of each bucket's S3 path to the lambda function. The paths should be:

* `s3://armory-demo-east-1/just-sweet-potatoes.zip`
* `s3://armory-demo-east-2/just-sweet-potatoes.zip`
* `s3://armory-demo-west-1/just-sweet-potatoes.zip`
* `s3://armory-demo-west-2/just-sweet-potatoes.zip`
* `s3://<my-bucket-prefix>-us-east-1/just-sweet-potatoes.zip`
* `s3://<my-bucket-prefix>-us-east-2/just-sweet-potatoes.zip`
* `s3://<my-bucket-prefix>-us-west-1/just-sweet-potatoes.zip`
* `s3://<my-bucket-prefix>-us-west-2/just-sweet-potatoes.zip`

## Create your deployment config file

Expand Down Expand Up @@ -212,16 +207,16 @@ The function is named `just-sweet-potatoes` in each S3 bucket, but the `function
{{< highlight yaml "linenos=table" >}}
artifacts:
- functionName: just-sweet-potatoes-dev
path: s3://armory-demo-east-1/just-sweet-potatoes.zip
path: s3://<my-bucket-prefix>-us-east-1/just-sweet-potatoes.zip
type: zipFile
- functionName: just-sweet-potatoes-staging
path: s3://armory-demo-east-2/just-sweet-potatoes.zip
path: s3://<my-bucket-prefix>-us-east-2/just-sweet-potatoes.zip
type: zipFile
- functionName: just-sweet-potatoes-prod-west-1
path: s3://armory-demo-west-1/just-sweet-potatoes.zip
path: s3://<my-bucket-prefix>-us-west-1/just-sweet-potatoes.zip
type: zipFile
- functionName: just-sweet-potatoes-prod-west-2
path: s3://armory-demo-west-2/just-sweet-potatoes.zip
path: s3://<my-bucket-prefix>-us-west-2/just-sweet-potatoes.zip
type: zipFile
{{< /highlight >}}

Expand All @@ -236,22 +231,22 @@ providerOptions:
name: just-sweet-potatoes-dev
runAsIamRole: <execution-role-arn>
handler: index.handler
runtime: python3.10
runtime: nodejs18.x
- target: staging
name: just-sweet-potatoes-staging
runAsIamRole: <execution-role-arn>
handler: index.handler
runtime: python3.10
runtime: nodejs18.x
- target: prod-west-1
name: just-sweet-potatoes-prod-west-1
runAsIamRole: <execution-role-arn>
handler: index.handler
runtime: python3.10
runtime: nodejs18.x
- target: prod-west-2
name: just-sweet-potatoes-prod-west-2
runAsIamRole: <execution-role-arn>
handler: index.handler
runtime: python3.10
runtime: nodejs18.x
{{< /highlight >}}

{{< include "dep-file/lambda-provider-options.md" >}}
Expand Down
Binary file modified content/en/get-started/lambda/manual-constraint.webp
Binary file not shown.
Binary file modified content/en/get-started/lambda/s3-buckets.webp
Binary file not shown.
Binary file modified content/en/get-started/quickstart/clickApprove.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/get-started/quickstart/deployFinishedDetails.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/en/iam/manage-rbac-roles/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,5 +242,5 @@

You can check that you deleted your role by running `armory config get`.

When you delete a role, that role is removed from existing users. You can accidentally remove the ability for your users to perform actions within CD-as-a-Service. A user with no role can still log into the UI but only sees a blank **Deployments** screen:
When you delete a role, that role is removed from existing users. You can accidentally remove the ability for your users to perform actions within CD-as-a-Service. A user with no role can still log into the UI but only sees a blank **Deployments** screen and will receive a 'Principal Not Authorized' error:

Check warning on line 245 in content/en/iam/manage-rbac-roles/index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/en/iam/manage-rbac-roles/index.md#L245

[Google.Will] Avoid using ' will '.
Raw output
{"message": "[Google.Will] Avoid using ' will '.", "location": {"path": "content/en/iam/manage-rbac-roles/index.md", "range": {"start": {"line": 245, "column": 259}}}, "severity": "WARNING"}
{{< figure src="user-no-role.png" >}}
Binary file modified content/en/iam/manage-rbac-roles/user-no-role.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/en/iam/manage-tenants/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ You use the UI to switch to the tenant whose resources you want to see. CD-as-a-
{{< figure src="ui-switch-tenant.jpg" alt="Switch Tenant." >}}

1. Access your user context menu.
1. Hover over **Switch Tenant** to display a list of accessible tenants.
1. Click the **Switch Tenant** button.
1. Click the tenant you want to switch to.
Binary file modified content/en/iam/manage-tenants/ui-switch-tenant.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/troubleshooting/rbac/user-no-role.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/tutorials/tutorial-blue-green/deployFinish.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/tutorials/tutorial-blue-green/openDetailsWindow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.