Skip to content

Commit

Permalink
Indy. Debugging initial deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
vlasonfa committed May 7, 2024
1 parent 42e4a85 commit bec7729
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
9 changes: 7 additions & 2 deletions lib/indy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ When running on a Mac, set the following environment variables.


##### Ansible parameter settings
Open `inventory/group_vars/all.yml` file and define the parameters referred to by Ansible in the configuration file. Set Indy's network name
To change Indy's network name, open `ansible/inventory/group_vars/all.yml` file and change the parameter used by Ansible

```
INDY_NETWORK_NAME: sample-network
Expand All @@ -113,7 +113,12 @@ INDY_NETWORK_NAME: sample-network
- Use ansible's `ping` module to confirm that ansible can connect to the instance set in inventory/inventory.yml

```
$ ansible -m ping all -i inventory/inventory.yml
cd ansible
ansible -m ping all -i inventory/inventory.yml
```
The response should look like this:

```
steward2 | SUCCESS => {
"changed": false,
"ping": "pong"
Expand Down
1 change: 1 addition & 0 deletions lib/indy/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
import 'dotenv/config'
import "source-map-support/register";
import * as cdk from "aws-cdk-lib";
import * as nag from "cdk-nag";
Expand Down
2 changes: 1 addition & 1 deletion lib/indy/lib/constructs/indy-steward-node-instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class IndyStewardNodeInstance extends Construct {
},
{
id: "AwsSolutions-EC29",
reason: "Its Ok to terminate this instance as long as we have the data in the snapshot",
reason: "Its Ok to terminate this instance as the same copies of the data are stored on each node",

},
],
Expand Down
2 changes: 1 addition & 1 deletion lib/indy/lib/constructs/indy-trustee-node-instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class IndyTrusteeNodeInstance extends Construct {
},
{
id: "AwsSolutions-EC29",
reason: "Its Ok to terminate this instance as long as we have the data in the snapshot",
reason: "Its Ok to terminate this instance as the same copies of the data are stored on each node",

},
],
Expand Down

0 comments on commit bec7729

Please sign in to comment.