Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
func resourceVPCPeeringConnectionAccept(conn *ec2.EC2, id string) (string, error) { log.Printf("[INFO] Accept VPC Peering Connection with id: %s", id) req := &ec2.AcceptVpcPeeringConnectionInput{ VpcPeeringConnectionId: aws.String(id), } resp, err := conn.AcceptVpcPeeringConnection(req) pc := resp.VpcPeeringConnection return *pc.Status.Code, err }