openshift-qe / openshift-rosa-cli

It is used for the testing of rosacli
Apache License 2.0
1 stars 10 forks source link

ocm_aws

The is packaged aws functions to be used for the API or ROSA automation testing There are two clients defined in pkg/aws_client: aws_v1 and aws_v2 package aws functions in aws_client package.

Call function for enhance implementation in ocm/aws package

How to prepare VPC: vpcCidr := "11.0.0.0/16" vpc, err := vpc.PrepareVPC("xueli-t", "us-west-2", vpcCidr, true, "a", "b", "c") fmt.Println(err)

How to delete vpc and the reourses: vpcID := vpc.VpcID err = vpc.DeleteVPCChain(vpcID)

Build a binary for the command call

How to use the binary of ocmqe to create resources