-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Cloud Support Slackbot #673
Conversation
Adding a link to the slackbot app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the inline comments.
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
tools/google-cloud-support-slackbot/google_cloud_support_slackbot.py
Outdated
Show resolved
Hide resolved
1. Under **Network interfaces**, click the network interface box | ||
1. Set **Network** to the VPC where you have your firewall rules | ||
1. Under **External IP**, select **Create IP address**. Choose whichever name and network service tier you prefer | ||
1. Click **Create** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All setup above can be performed in Terraform or Google Cloud Resource Manager. Is there any guidelines for that repository when Terraform should be used and when plain text tutorial? See example https://github.com/GoogleCloudPlatform/professional-services/tree/main/examples/kerberized_data_lake .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the answer is it depends on each team's maturity with Google Cloud. For an organization that is new to cloud, following the step-by-step guide will likely make the most sense. For more experienced teams though, they will likely have terraform already handy that they can use to build up vanilla projects with most of this implemented
Added! |
Here's a quick Trello board for tracking all the features to be added for v1, which should be in the next 3-6 months: https://trello.com/b/i8bPx6bQ/google-cloud-support-slackbot-v1 |
Could you provide that link again? I can not open that link, because I don't see any link. |
I edited it in to the comment above, let me know if there is anything missing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
### VM | ||
|
||
Go to **Compute Engine > VM instances** and perform the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can always deploy a new version of a Cloud Function (https://cloud.google.com/functions/docs/deploying#migrating_between_deployments), which, in a way, is an update of an existing function.
/gbcrun |
Description: Code for customers with Premium Support and access to the v2Alpha Cloud Support API to be able to deploy a Slack bot that regularly pulls support case information from Google Cloud and pushes it to Slack. Includes a python script, requirements file, images for the Slack icon .env template, and default template for nginx.
Bug: I checked for PSO Engineering Council but the moma page said it was paused. If there is a component where I should file a bug let me know and I'll be happy to submit one. Otherwise my manager nitameng@ can vouch for what has been built
Other: Also I encountered issues with pylint where it is trying to read the my Response object as a string, and it doesn't understand the concept of f"text". The code itself works and has been deployed with customer