File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 id : provider_version
2121 attributes :
2222 label : Provider version
23- placeholder : " Chaotic-Logic /discord vX.Y.Z"
23+ placeholder : " 45ck /discord vX.Y.Z"
2424 validations :
2525 required : true
2626
5656 render : text
5757 validations :
5858 required : true
59-
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ HOSTNAME?=registry.terraform.io
55
66# If you publish under a different namespace, override this when invoking make:
77# `make install NAMESPACE=YourOrg`
8- NAMESPACE? =Chaotic-Logic
8+ NAMESPACE? =45ck
99
1010NAME? =discord
1111BINARY? =terraform-provider-${NAME}
Original file line number Diff line number Diff line change 22
33This is a fork of [ aequasi/terraform-provider-discord] ( https://github.com/aequasi/terraform-provider-discord ) . We ran into some problems with this provider and decided to fix them with this opinionated version.
44
5- https://registry.terraform.io/providers/Chaotic-Logic /discord/latest
5+ https://registry.terraform.io/providers/45ck /discord/latest
66
77Note: this fork serves the provider over Terraform plugin protocol v6, which requires Terraform CLI 1.0+.
88
@@ -24,6 +24,16 @@ The Go module path for this repo is `github.com/45ck/terraform-provider-discord`
2424
2525This does not affect Terraform provider installation (which uses the provider source address in your Terraform configuration).
2626
27+ ## Provider Source Address
28+
29+ The Terraform Registry source address for this provider is ` 45ck/discord ` .
30+
31+ If you are migrating from another fork (for example ` Chaotic-Logic/discord ` ), you can update existing state with:
32+
33+ ``` sh
34+ terraform state replace-provider registry.terraform.io/Chaotic-Logic/discord registry.terraform.io/45ck/discord
35+ ```
36+
2737## License
2838
2939GPL-3.0 (see ` LICENSE ` ).
Original file line number Diff line number Diff line change 11terraform {
22 required_providers {
33 discord = {
4- source = " Chaotic-Logic /discord"
4+ source = " 45ck /discord"
55 version = " >= 0.0.0"
66 }
77 }
@@ -98,4 +98,4 @@ resource "discord_soundboard_sound" "ping" {
9898resource "discord_widget_settings" "this" {
9999 server_id = var. server_id
100100 enabled = false
101- }
101+ }
Original file line number Diff line number Diff line change 11terraform {
22 required_providers {
33 discord = {
4- source = " Chaotic-Logic /discord"
4+ source = " 45ck /discord"
55 version = " >= 0.0.0"
66 }
77 }
@@ -31,3 +31,4 @@ resource "discord_api_resource" "guild_widget" {
3131 delete_method = " SKIP"
3232}
3333
34+
Original file line number Diff line number Diff line change 11terraform {
22 required_providers {
33 discord = {
4- source = " Chaotic-Logic /discord"
4+ source = " 45ck /discord"
55 version = " >= 0.0.0"
66 }
77 }
@@ -87,3 +87,4 @@ resource "discord_welcome_screen" "main" {
8787 emoji_name = " 📜"
8888 }
8989}
90+
Original file line number Diff line number Diff line change 11terraform {
22 required_providers {
33 discord = {
4- source = " Chaotic-Logic /discord"
4+ source = " 45ck /discord"
55 version = " >= 0.0.0"
66 }
77 }
@@ -27,3 +27,4 @@ resource "discord_guild_settings" "this" {
2727 reason = " Terraform: set baseline guild settings"
2828}
2929
30+
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ func main() {
1414
1515 discord .SetBuildVersion (version )
1616
17- // Address can be any stable string; it is used for Terraform CLI dev overrides and debugging.
18- const address = "registry.terraform.io/Chaotic-Logic/discord"
17+ // Address should match the Terraform Registry source address users configure in required_providers.
18+ // It is also used for Terraform CLI dev overrides and debugging.
19+ const address = "registry.terraform.io/45ck/discord"
1920 if err := providerserver .Serve (ctx , fw .New (version ), providerserver.ServeOpts {Address : address }); err != nil {
2021 log .Fatalf ("failed to serve provider: %v" , err )
2122 }
You can’t perform that action at this time.
0 commit comments