Skip to content

Commit bae6a80

Browse files
authored
fix: do not use s3 URLs (#252)
1 parent 554e87d commit bae6a80

File tree

4 files changed

+17
-37
lines changed

4 files changed

+17
-37
lines changed

docs/how-to-guides/configuration/roll-out-aws-permissions-with-cloudformation/index.mdx

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ The source code can be found in the [`someengineering/fixinventory-cf` GitHub re
1616

1717
:::
1818

19-
:::note
20-
21-
If you prefer to deploy the StackSet yourself, the S3 URL of the template to create the `FixInventoryAccess` role is [https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-role.template](https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-role.template).
22-
23-
:::
24-
2519
## Prerequisites
2620

2721
This guide assumes that you have already [installed](../../../getting-started/install/index.mdx) Fix Inventory.
@@ -45,9 +39,11 @@ You also need an [AWS Organization](https://aws.amazon.com/organizations) that m
4539

4640
3. Click this button to open the **Quick create stack** page:
4741

48-
[<span class="button button--primary">Deploy StackSet</span>](https://console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-stackset.template)
42+
[<span class="button button--primary">Deploy Stack</span>](https://console.aws.amazon.com/cloudformation/home#/stacks/create)
43+
44+
4. Specify the template by selecting "Upload a template file" and upload the file. Press Next.
4945

50-
4. Enter a stack name (e.g., `FixInventoryAccess`) and configure the four parameters as follows:
46+
5. Enter a stack name (e.g., `FixInventoryAccess`) and configure the four parameters as follows:
5147

5248
| Parameter | Description |
5349
| --- | --- |
@@ -58,17 +54,17 @@ You also need an [AWS Organization](https://aws.amazon.com/organizations) that m
5854

5955
![Stack Configuration](./img/configure_the_stack.png)
6056

61-
5. Click **Next** on both this page and the next, then click **Create Stack**.
57+
6. Click **Next** on both this page and the next, then click **Create Stack**.
6258

6359
The stack will take a few minutes to deploy.
6460

6561
![Stack Creating](./img/stack_creating.png)
6662

67-
6. In the menu to the left, click **StackSets**. You can see that the StackSet is being created on the **Self-managed** or **Service-managed** tab (depending on the option you chose).
63+
7. In the menu to the left, click **StackSets**. You can see that the StackSet is being created on the **Self-managed** or **Service-managed** tab (depending on the option you chose).
6864

6965
![StackSet Creating](./img/stackset_creating.png)
7066

71-
7. After a few minutes, the StackSet will be created and begin deploying to all accounts in our organization. Reviewing the stacks in `us-east-1`, you should now see a new stack created by the StackSet:
67+
8. After a few minutes, the StackSet will be created and begin deploying to all accounts in our organization. Reviewing the stacks in `us-east-1`, you should now see a new stack created by the StackSet:
7268

7369
![Stacks Created](./img/stacks_created.png)
7470

@@ -97,8 +93,8 @@ You also need an [AWS Organization](https://aws.amazon.com/organizations) that m
9793
aws cloudformation create-stack \
9894
--region us-east-1 \
9995
--stack-name FixInventoryAccess \
100-
--template-url https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-stackset.template \
101-
--parameters ParameterKey=DeploymentTargetOrganizationalUnitIds,ParameterValue="$AWS_OU" ParameterKey=FixInventoryAccountID,ParameterValue=$FIX_ACCOUNT_ID
96+
--template-body file://path/to/your/fixinventory-role.template \
97+
--parameters ParameterKey=DeploymentTargetOrganizationalUnitIds,ParameterValue="$AWS_OU" ParameterKey=FixInventoryAccountID,ParameterValue=$FIX_ACCOUNT_ID
10298
```
10399

104100
:::info

docs/how-to-guides/data-sources/collect-aws-resource-data.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,6 @@ You can specify a profile using `AWS_PROFILE` and, for local testing, SSO authen
282282

283283
See [How to Roll Out Fix Inventory AWS Permissions with CloudFormation](../configuration/roll-out-aws-permissions-with-cloudformation/index.mdx) for a step-by-step guide on how to roll out Fix Inventory [permissions](../../reference/iam-permissions/aws.mdx) organization-wide.
284284

285-
:::info
286-
287-
If you prefer to deploy the role yourself, the S3 URL of the template to create the `FixInventoryAccess` role is [https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-role.template](https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-role.template).
288-
289-
:::
290-
291285
### 4. Trigger Resource Collection
292286

293287
1. By default, Fix Inventory performs resource collection each hour. To immediately trigger a collect run, use the [`workflow run` command](../../reference/cli/workflow/run.mdx) in [Fix Inventory Shell](../../reference/components/shell):

versioned_docs/version-4.X/how-to-guides/configuration/roll-out-aws-permissions-with-cloudformation/index.mdx

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ The source code can be found in the [`someengineering/fixinventory-cf` GitHub re
1616

1717
:::
1818

19-
:::note
20-
21-
If you prefer to deploy the StackSet yourself, the S3 URL of the template to create the `FixInventoryAccess` role is [https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-role.template](https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-role.template).
22-
23-
:::
24-
2519
## Prerequisites
2620

2721
This guide assumes that you have already [installed](../../../getting-started/install/index.mdx) Fix Inventory.
@@ -45,9 +39,11 @@ You also need an [AWS Organization](https://aws.amazon.com/organizations) that m
4539

4640
3. Click this button to open the **Quick create stack** page:
4741

48-
[<span class="button button--primary">Deploy StackSet</span>](https://console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-stackset.template)
42+
[<span class="button button--primary">Deploy Stack</span>](https://console.aws.amazon.com/cloudformation/home#/stacks/create)
43+
44+
4. Specify the template by selecting "Upload a template file" and upload the file. Press Next.
4945

50-
4. Enter a stack name (e.g., `FixInventoryAccess`) and configure the four parameters as follows:
46+
5. Enter a stack name (e.g., `FixInventoryAccess`) and configure the four parameters as follows:
5147

5248
| Parameter | Description |
5349
| --- | --- |
@@ -58,17 +54,17 @@ You also need an [AWS Organization](https://aws.amazon.com/organizations) that m
5854

5955
![Stack Configuration](./img/configure_the_stack.png)
6056

61-
5. Click **Next** on both this page and the next, then click **Create Stack**.
57+
6. Click **Next** on both this page and the next, then click **Create Stack**.
6258

6359
The stack will take a few minutes to deploy.
6460

6561
![Stack Creating](./img/stack_creating.png)
6662

67-
6. In the menu to the left, click **StackSets**. You can see that the StackSet is being created on the **Self-managed** or **Service-managed** tab (depending on the option you chose).
63+
7. In the menu to the left, click **StackSets**. You can see that the StackSet is being created on the **Self-managed** or **Service-managed** tab (depending on the option you chose).
6864

6965
![StackSet Creating](./img/stackset_creating.png)
7066

71-
7. After a few minutes, the StackSet will be created and begin deploying to all accounts in our organization. Reviewing the stacks in `us-east-1`, you should now see a new stack created by the StackSet:
67+
8. After a few minutes, the StackSet will be created and begin deploying to all accounts in our organization. Reviewing the stacks in `us-east-1`, you should now see a new stack created by the StackSet:
7268

7369
![Stacks Created](./img/stacks_created.png)
7470

@@ -97,7 +93,7 @@ You also need an [AWS Organization](https://aws.amazon.com/organizations) that m
9793
aws cloudformation create-stack \
9894
--region us-east-1 \
9995
--stack-name FixInventoryAccess \
100-
--template-url https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-stackset.template \
96+
--template-body file://path/to/your/fixinventory-role.template \
10197
--parameters ParameterKey=DeploymentTargetOrganizationalUnitIds,ParameterValue="$AWS_OU" ParameterKey=FixInventoryAccountID,ParameterValue=$FIX_ACCOUNT_ID
10298
```
10399

versioned_docs/version-4.X/how-to-guides/data-sources/collect-aws-resource-data.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,6 @@ You can specify a profile using `AWS_PROFILE` and, for local testing, SSO authen
282282

283283
See [How to Roll Out Fix Inventory AWS Permissions with CloudFormation](../configuration/roll-out-aws-permissions-with-cloudformation/index.mdx) for a step-by-step guide on how to roll out Fix Inventory [permissions](../../reference/iam-permissions/aws.mdx) organization-wide.
284284

285-
:::info
286-
287-
If you prefer to deploy the role yourself, the S3 URL of the template to create the `FixInventoryAccess` role is [https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-role.template](https://fixinventorypublic.s3.amazonaws.com/cf/fixinventory-role.template).
288-
289-
:::
290-
291285
### 4. Trigger Resource Collection
292286

293287
1. By default, Fix Inventory performs resource collection each hour. To immediately trigger a collect run, use the [`workflow run` command](../../reference/cli/workflow/run.mdx) in [Fix Inventory Shell](../../reference/components/shell):

0 commit comments

Comments
 (0)