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

[ECO-2432] Misc deploy file updates #369

Merged
merged 4 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions src/cloud-formation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ indexer deployments.

A plaintext API key for the [transaction stream service endpoint] you are
connecting to, for example an
[Aptos Labs transaction stream service API key].
[Aptos Labs transaction stream service API key]. Note that you'll need to
prepend `https://` as applicable if it is a public endpoint, for example
`https://grpc.devnet.aptoslabs.com:443`

</td></tr></table>

Expand All @@ -96,7 +98,7 @@ indexer deployments.
Description
</th></tr><tr><td>

`/emojicoin/grpc-data-service-url/<mainnet|testnet>`
`/emojicoin/grpc-data-service-url/<mainnet|testnet|devnet>`

</td><td>

Expand All @@ -120,24 +122,25 @@ indexer deployments.

</td></tr><tr><td>

`/emojicoin/minimum-starting-version/<mainnet|testnet>`
`/emojicoin/minimum-starting-version/<mainnet|testnet|devnet>`

</td><td>
A transaction version number prior to the version in which the target Move
package was published.
</td></tr><tr><td>

`/emojicoin/package-address/<mainnet|testnet>`
`/emojicoin/package-address/<mainnet|testnet|devnet>`

</td><td>
The address of the Move package you want to index.
</td></tr></table>

<!-- markdownlint-enable MD033 -->

> Substitute either `mainnet` or `testnet` for `<mainnet|testnet>` depending
> on the network you want to index (create a parameter for each network if
> you want to run deployments for both).
> Substitute either `mainnet`, `testnet`, or `devnet` for
> `<mainnet|testnet|devnet>` depending on the network you want to index
> (create a parameter for each network if you want to run deployments for
> all).

1. Create the following [IAM roles]:

Expand Down
4 changes: 2 additions & 2 deletions src/cloud-formation/deploy-indexer-main.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
parameters:
BrokerImageVersion: '1.0.0'
BrokerImageVersion: '1.0.1'
DeployAlb: 'true'
DeployAlbDnsRecord: 'true'
DeployBastionHost: 'true'
Expand All @@ -20,7 +20,7 @@ parameters:
EnableWafRulesWebSocket: 'false'
Environment: 'main'
Network: 'testnet'
ProcessorImageVersion: '1.0.0'
ProcessorImageVersion: '1.0.1'
VpcStackName: 'emoji-vpc'
tags: null
template-file-path: 'src/cloud-formation/indexer.cfn.yaml'
Expand Down
6 changes: 3 additions & 3 deletions src/cloud-formation/deploy-indexer-production.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
parameters:
BrokerImageVersion: '1.0.0'
BrokerImageVersion: '1.0.1'
DeployAlb: 'true'
DeployAlbDnsRecord: 'true'
DeployBastionHost: 'true'
Expand All @@ -19,8 +19,8 @@ parameters:
EnableWafRulesRestApi: 'false'
EnableWafRulesWebSocket: 'false'
Environment: 'production'
Network: 'testnet'
ProcessorImageVersion: '1.0.0'
Network: 'devnet'
ProcessorImageVersion: '1.0.1'
VpcStackName: 'emoji-vpc'
tags: null
template-file-path: 'src/cloud-formation/indexer.cfn.yaml'
Expand Down
1 change: 1 addition & 0 deletions src/cloud-formation/indexer.cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ Parameters:
AllowedValues:
- 'mainnet'
- 'testnet'
- 'devnet'
Type: 'String'
PostgrestImageVersion:
Default: 'v12.2.3'
Expand Down
Loading