Skip to content

add connectivity rule operation#449

Closed
jumbogo wants to merge 20 commits intomainfrom
zz/connectivity-rule-cli
Closed

add connectivity rule operation#449
jumbogo wants to merge 20 commits intomainfrom
zz/connectivity-rule-cli

Conversation

@jumbogo
Copy link
Copy Markdown
Contributor

@jumbogo jumbogo commented Jun 5, 2025

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@jumbogo jumbogo requested review from alice-yin and anekkanti June 5, 2025 21:18
@jumbogo jumbogo requested a review from a team as a code owner June 5, 2025 21:18
Comment thread app/connectivity_rule.go
Name: cloudProviderFlagName,
Aliases: []string{"cp"},
Usage: "The cloud provider of the connection, currently only support 'aws' and 'gcp'",
Required: false,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could set as required field?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh. I see. only neeed for isPrivateFlagName

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, currently we allow create public connectivity rule, which doesn't require anything, so we have a validation function to check. The other option is we separate the command to say create-public and create-private

Comment thread app/connectivity_rule.go
Copy link
Copy Markdown
Contributor

@alice-yin alice-yin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this is a pre-release feature, you don't want all people could access this cmd in tcld. What extra you need to add is using IsFeatureEnabled in tcld. You could find some code change around it.

Comment thread app/connectivity_rule.go
@jumbogo jumbogo changed the title add connectivity rule operation (create, get) add connectivity rule operation Jun 18, 2025
@jumbogo jumbogo closed this Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants