diff --git a/cli/cmd/integration_gcp.go b/cli/cmd/integration_gcp.go index 5c5dd1cb7..4f5b58feb 100644 --- a/cli/cmd/integration_gcp.go +++ b/cli/cmd/integration_gcp.go @@ -48,7 +48,7 @@ func createGcpConfigIntegration() error { }, { Name: "private_key", - Prompt: &survey.Input{Message: "Private Key:"}, + Prompt: &survey.Editor{Message: "Enter properly formatted Private Key:"}, Validate: survey.Required, }, { diff --git a/cli/cmd/integration_gcp_pub_sub_channel.go b/cli/cmd/integration_gcp_pub_sub_channel.go index cfdb733f0..e037f7886 100644 --- a/cli/cmd/integration_gcp_pub_sub_channel.go +++ b/cli/cmd/integration_gcp_pub_sub_channel.go @@ -32,33 +32,33 @@ func createGcpPubSubChannelIntegration() error { Validate: survey.Required, }, { - Name: "client_id", - Prompt: &survey.Input{Message: "Client ID:"}, + Name: "topic_id", + Prompt: &survey.Input{Message: "Topic ID:"}, Validate: survey.Required, }, { - Name: "private_key_id", - Prompt: &survey.Input{Message: "Private Key ID:"}, + Name: "project_id", + Prompt: &survey.Input{Message: "Project ID:"}, Validate: survey.Required, }, { - Name: "client_email", - Prompt: &survey.Input{Message: "Client Email:"}, + Name: "client_id", + Prompt: &survey.Input{Message: "Client ID:"}, Validate: survey.Required, }, { - Name: "private_key", - Prompt: &survey.Input{Message: "Private Key:"}, + Name: "client_email", + Prompt: &survey.Input{Message: "Client Email:"}, Validate: survey.Required, }, { - Name: "project_id", - Prompt: &survey.Input{Message: "Project ID:"}, + Name: "private_key_id", + Prompt: &survey.Input{Message: "Private Key ID:"}, Validate: survey.Required, }, { - Name: "topic_id", - Prompt: &survey.Input{Message: "Topic ID:"}, + Name: "private_key", + Prompt: &survey.Editor{Message: "Enter properly formatted Private Key:"}, Validate: survey.Required, }, {