Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opsgenie/opsgenie-cloudformation-resources
Opsgenie Cloudformation Registry Resources
https://github.com/opsgenie/opsgenie-cloudformation-resources
aws-cloudformation cloudformation
Last synced: about 1 month ago
JSON representation
Opsgenie Cloudformation Registry Resources
- Host: GitHub
- URL: https://github.com/opsgenie/opsgenie-cloudformation-resources
- Owner: opsgenie
- License: apache-2.0
- Created: 2019-11-18T22:40:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-27T17:08:53.000Z (over 1 year ago)
- Last Synced: 2024-11-30T06:37:20.019Z (2 months ago)
- Topics: aws-cloudformation, cloudformation
- Language: Java
- Homepage:
- Size: 136 KB
- Stars: 9
- Watchers: 17
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloudformation - Atlassian
README
# Opsgenie Cloudformation Integration
The typeConfiguration needs to be set via AWS CLI or AWS Console. You will not able to set credentials in resource models.
```
aws cloudformation set-type-configuration \
--region $REGION \
--type RESOURCE \
--type-name $RESOURCE_NAME \
--configuration-alias default \
--configuration { "OpsgenieCredentials": { "OpsgenieApiEndpoint": "$API_ENDPOINT", "OpsgenieApiKey": "$API_KEY" }}
```Note: To use your type configuration in contract tests, you will need to save your type configuration json file
in `~/.cfn-cli/typeConfiguration.json````
{
"OpsgenieCredentials": {
"OpsgenieApiEndpoint": "$API_ENDPOINT",
"OpsgenieApiKey": "$API_KEY"
}
}
```https://github.com/aws-cloudformation/cloudformation-cli
## Supported Resources
*Link to documentation*
- Opsgenie User
- Opsgenie Team
- Opsgenie Integration
## Installation
### Install from S3
- Opsgenie User resource
```shell
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-user-v2.1.2.zipaws s3 cp atlassian-opsgenie-user-v2.1.2.zip s3://$BUCKET_NAME
aws cloudformation register-type \
--region us-west-2 \
--type-name "Atlassian::Opsgenie::User" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-user-v2.1.2.zip" \
--type RESOURCE > registration_token.jsonaws cloudformation describe-type-registration --registration-token $REGISTRATION_TOKEN
aws cloudformation set-type-default-version --arn $TYPE_VERSION_ARN
```- Opsgenie Team resource
```shell
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-team-v2.1.2.zipaws s3 cp atlassian-opsgenie-team-v2.1.2.zip s3://$BUCKET_NAME
aws cloudformation register-type \
--region us-west-2 \
--type-name "Atlassian::Opsgenie::Team" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-team-v2.1.2.zip" \
--type RESOURCE > registration_token.jsonaws cloudformation describe-type-registration --registration-token $REGISTRATION_TOKEN
aws cloudformation set-type-default-version --arn $TYPE_VERSION_ARN
```- Opsgenie Integration resource
```shell
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-integration-v2.1.2.zipaws s3 cp atlassian-opsgenie-integration-v2.1.2.zip s3://$BUCKET_NAME
aws cloudformation register-type \
--region us-west-2 \
--type-name "Atlassian::Opsgenie::Integration" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-integration-v2.1.2.zip" \
--type RESOURCE > registration_token.jsonaws cloudformation describe-type-registration --registration-token $REGISTRATION_TOKEN
aws cloudformation set-type-default-version --arn $TYPE_VERSION_ARN
```### Install using cfn-cli
- clone this repo
- navigate to desired resource (such as /opsgenie_user)
- run `cfn-cli submit` command
### Install using AWS Console
- navigate to Cloudformation on AWS console
- navigate to Public Extensions section
- select Third Party Publisher
- search for `Atlassian::Opsgenie::User` or the others
- activate