-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add delete resource for slack channels
- Loading branch information
1 parent
fe824ca
commit 06fadbb
Showing
4 changed files
with
28 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# Custom Terraform Provider: Slack | ||
# Required: API_TOKEN | ||
|
||
# Terraform Slack Provider | ||
# Example | ||
provider "slack" { | ||
api_token = "SLACK_API_TOKEN" | ||
} | ||
|
||
# Create Slack Channel named OG Channel | ||
resource "slack_channel" "this" { | ||
channel_name = "OG Channel" | ||
} | ||
resource "slack_channel" "jenkins_ci" { | ||
channel_name = "jenkins" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters