Skip to content

Move all node configuration to constructor #1

@lordjabez

Description

@lordjabez

Due to an issue with CDK (aws/aws-cdk#18237) the permissions around the AwsCustomResource used to perform Hyperledger functions have to be broader than necessary, and not scoped to the constructs where they're used.

When the CDK bug is fixed, the code here can be cleaned up accordingly, see https://github.com/cdklabs/cdk-hyperledger-fabric-network/blob/main/src/network.ts#L353-L365. Specifically the nodes can completely set themselves up in their constructor and not require a subsequent call, and the permissions can be moved out of network.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions