diff --git a/go.mod b/go.mod index c4403efa5..8a5138116 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( github.com/robfig/cron/v3 v3.0.1 github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20250929150437-c65b49480cff github.com/stretchr/testify v1.11.1 - golang.org/x/crypto v0.42.0 + golang.org/x/crypto v0.43.0 golang.org/x/sync v0.17.0 gopkg.in/dnaeon/go-vcr.v3 v3.2.0 ) @@ -70,6 +70,7 @@ require ( github.com/bitfield/gotestdox v0.2.2 // indirect github.com/bmatcuk/doublestar v1.3.4 // indirect github.com/bmatcuk/doublestar/v4 v4.9.1 // indirect + github.com/clipperhouse/uax29/v2 v2.2.0 // indirect github.com/cloudflare/circl v1.6.1 // indirect github.com/containerd/errdefs v1.0.0 // indirect github.com/containerd/errdefs/pkg v0.3.0 // indirect @@ -99,9 +100,9 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl/v2 v2.24.0 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-exec v0.23.1 // indirect - github.com/hashicorp/terraform-json v0.27.1 // indirect - github.com/hashicorp/terraform-plugin-docs v0.23.0 // indirect + github.com/hashicorp/terraform-exec v0.24.0 // indirect + github.com/hashicorp/terraform-json v0.27.2 // indirect + github.com/hashicorp/terraform-plugin-docs v0.24.0 // indirect github.com/hashicorp/terraform-registry-address v0.4.0 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/yamux v0.1.2 // indirect @@ -114,7 +115,7 @@ require ( github.com/magiconair/properties v1.8.6 // indirect github.com/mattn/go-colorable v0.1.14 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-runewidth v0.0.9 // indirect + github.com/mattn/go-runewidth v0.0.19 // indirect github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-testing-interface v1.14.1 // indirect @@ -148,7 +149,7 @@ require ( github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect - github.com/yuin/goldmark v1.7.7 // indirect + github.com/yuin/goldmark v1.7.13 // indirect github.com/yuin/goldmark-meta v1.1.0 // indirect github.com/zclconf/go-cty v1.17.0 // indirect go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect @@ -158,13 +159,13 @@ require ( go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.38.0 // indirect go.opentelemetry.io/otel/metric v1.38.0 // indirect go.opentelemetry.io/otel/trace v1.38.0 // indirect - golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect - golang.org/x/mod v0.28.0 // indirect - golang.org/x/net v0.44.0 // indirect - golang.org/x/sys v0.36.0 // indirect - golang.org/x/term v0.35.0 // indirect - golang.org/x/text v0.29.0 // indirect - golang.org/x/tools v0.37.0 // indirect + golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b // indirect + golang.org/x/mod v0.29.0 // indirect + golang.org/x/net v0.46.0 // indirect + golang.org/x/sys v0.37.0 // indirect + golang.org/x/term v0.36.0 // indirect + golang.org/x/text v0.30.0 // indirect + golang.org/x/tools v0.38.0 // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 // indirect diff --git a/go.sum b/go.sum index 5bc6e9296..796773285 100644 --- a/go.sum +++ b/go.sum @@ -135,6 +135,8 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/clipperhouse/uax29/v2 v2.2.0 h1:ChwIKnQN3kcZteTXMgb1wztSgaU+ZemkgWdohwgs8tY= +github.com/clipperhouse/uax29/v2 v2.2.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM= github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0= github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= @@ -318,12 +320,12 @@ github.com/hashicorp/hcl/v2 v2.24.0 h1:2QJdZ454DSsYGoaE6QheQZjtKZSUs9Nh2izTWiwQx github.com/hashicorp/hcl/v2 v2.24.0/go.mod h1:oGoO1FIQYfn/AgyOhlg9qLC6/nOJPX3qGbkZpYAcqfM= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/terraform-exec v0.23.1 h1:diK5NSSDXDKqHEOIQefBMu9ny+FhzwlwV0xgUTB7VTo= -github.com/hashicorp/terraform-exec v0.23.1/go.mod h1:e4ZEg9BJDRaSalGm2z8vvrPONt0XWG0/tXpmzYTf+dM= -github.com/hashicorp/terraform-json v0.27.1 h1:zWhEracxJW6lcjt/JvximOYyc12pS/gaKSy/wzzE7nY= -github.com/hashicorp/terraform-json v0.27.1/go.mod h1:GzPLJ1PLdUG5xL6xn1OXWIjteQRT2CNT9o/6A9mi9hE= -github.com/hashicorp/terraform-plugin-docs v0.23.0 h1:sipnfD4/9EJBg9zekym+s1H6qmLAKJHhGWBwvN9v/hE= -github.com/hashicorp/terraform-plugin-docs v0.23.0/go.mod h1:J4b5AtMRgJlDrwCQz+G4hKABgHY5m56PnsRmdAzBwW8= +github.com/hashicorp/terraform-exec v0.24.0 h1:mL0xlk9H5g2bn0pPF6JQZk5YlByqSqrO5VoaNtAf8OE= +github.com/hashicorp/terraform-exec v0.24.0/go.mod h1:lluc/rDYfAhYdslLJQg3J0oDqo88oGQAdHR+wDqFvo4= +github.com/hashicorp/terraform-json v0.27.2 h1:BwGuzM6iUPqf9JYM/Z4AF1OJ5VVJEEzoKST/tRDBJKU= +github.com/hashicorp/terraform-json v0.27.2/go.mod h1:GzPLJ1PLdUG5xL6xn1OXWIjteQRT2CNT9o/6A9mi9hE= +github.com/hashicorp/terraform-plugin-docs v0.24.0 h1:YNZYd+8cpYclQyXbl1EEngbld8w7/LPOm99GD5nikIU= +github.com/hashicorp/terraform-plugin-docs v0.24.0/go.mod h1:YLg+7LEwVmRuJc0EuCw0SPLxuQXw5mW8iJ5ml/kvi+o= github.com/hashicorp/terraform-plugin-framework v1.16.0 h1:tP0f+yJg0Z672e7levixDe5EpWwrTrNryPM9kDMYIpE= github.com/hashicorp/terraform-plugin-framework v1.16.0/go.mod h1:0xFOxLy5lRzDTayc4dzK/FakIgBhNf/lC4499R9cV4Y= github.com/hashicorp/terraform-plugin-go v0.29.0 h1:1nXKl/nSpaYIUBU1IG/EsDOX0vv+9JxAltQyDMpq5mU= @@ -391,8 +393,8 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-runewidth v0.0.19 h1:v++JhqYnZuu5jSKrk9RbgF5v4CGUjqRfBm05byFGLdw= +github.com/mattn/go-runewidth v0.0.19/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= github.com/mitchellh/cli v1.1.5 h1:OxRIeJXpAMztws/XHlN2vu6imG5Dpq+j61AzAX5fLng= github.com/mitchellh/cli v1.1.5/go.mod h1:v8+iFts2sPIKUV1ltktPXMCC8fumSKFItNcD2cLtRR4= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= @@ -508,8 +510,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/yuin/goldmark v1.7.7 h1:5m9rrB1sW3JUMToKFQfb+FGt1U7r57IHu5GrYrG2nqU= -github.com/yuin/goldmark v1.7.7/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E= +github.com/yuin/goldmark v1.7.13 h1:GPddIs617DnBLFFVJFgpo1aBfe/4xcvMc3SB5t/D0pA= +github.com/yuin/goldmark v1.7.13/go.mod h1:ip/1k0VRfGynBgxOz0yCqHrbZXhcjxyuS66Brc7iBKg= github.com/yuin/goldmark-meta v1.1.0 h1:pWw+JLHGZe8Rk0EGsMVssiNb/AaPMHfSRszZeUeiOUc= github.com/yuin/goldmark-meta v1.1.0/go.mod h1:U4spWENafuA7Zyg+Lj5RqK/MF+ovMYtBvXi1lBb2VP0= github.com/zclconf/go-cty v1.17.0 h1:seZvECve6XX4tmnvRzWtJNHdscMtYEx5R7bnnVyd/d0= @@ -555,8 +557,8 @@ golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= -golang.org/x/crypto v0.42.0 h1:chiH31gIWm57EkTXpwnqf8qeuMUi0yekh6mT2AvFlqI= -golang.org/x/crypto v0.42.0/go.mod h1:4+rDnOTJhQCx2q7/j6rAN5XDw8kPjeaXEUR2eL94ix8= +golang.org/x/crypto v0.43.0 h1:dduJYIi3A3KOfdGOHX8AVZ/jGiyPa3IbBozJ5kNuE04= +golang.org/x/crypto v0.43.0/go.mod h1:BFbav4mRNlXJL4wNeejLpWxB7wMbc79PdRGhWKncxR0= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -567,8 +569,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df h1:UA2aFVmmsIlefxMk29Dp2juaUSth8Pyn3Tq5Y5mJGME= -golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= +golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b h1:18qgiDvlvH7kk8Ioa8Ov+K6xCi0GMvmGfGW0sgd/SYA= +golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b/go.mod h1:j/pmGrbnkbPtQfxEe5D0VQhZC6qKbfKifgD0oM7sR70= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -594,8 +596,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.28.0 h1:gQBtGhjxykdjY9YhZpSlZIsbnaE2+PgjfLWUQTnoZ1U= -golang.org/x/mod v0.28.0/go.mod h1:yfB/L0NOf/kmEbXjzCPOx1iK1fRutOydrCMsqRhEBxI= +golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA= +golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -630,8 +632,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.44.0 h1:evd8IRDyfNBMBTTY5XRF1vaZlD+EmWx6x8PkhR04H/I= -golang.org/x/net v0.44.0/go.mod h1:ECOoLqd5U3Lhyeyo/QDCEVQ4sNgYsqvCZ722XogGieY= +golang.org/x/net v0.46.0 h1:giFlY12I07fugqwPuWJi68oOnpfqFnJIJzaIIm2JVV4= +golang.org/x/net v0.46.0/go.mod h1:Q9BGdFy1y4nkUwiLvT5qtyhAnEHgnQ/zd8PfU6nc210= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -702,15 +704,15 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k= -golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ= +golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= -golang.org/x/term v0.35.0 h1:bZBVKBudEyhRcajGcNc3jIfWPqV4y/Kt2XcoigOWtDQ= -golang.org/x/term v0.35.0/go.mod h1:TPGtkTLesOwf2DE8CgVYiZinHAOuy5AYUYT1lENIZnA= +golang.org/x/term v0.36.0 h1:zMPR+aF8gfksFprF/Nc/rd1wRS1EI6nDBGyWAvDzx2Q= +golang.org/x/term v0.36.0/go.mod h1:Qu394IJq6V6dCBRgwqshf3mPF85AqzYEzofzRdZkWss= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -722,8 +724,8 @@ golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.29.0 h1:1neNs90w9YzJ9BocxfsQNHKuAT4pkghyXc4nhZ6sJvk= -golang.org/x/text v0.29.0/go.mod h1:7MhJOA9CD2qZyOKYazxdYMF85OwPdEr9jTtBpO7ydH4= +golang.org/x/text v0.30.0 h1:yznKA/E9zq54KzlzBEAWn1NXSQ8DIp/NYMy88xJjl4k= +golang.org/x/text v0.30.0/go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs= @@ -779,8 +781,8 @@ golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.37.0 h1:DVSRzp7FwePZW356yEAChSdNcQo6Nsp+fex1SUW09lE= -golang.org/x/tools v0.37.0/go.mod h1:MBN5QPQtLMHVdvsbtarmTNukZDdgwdwlO5qGacAzF0w= +golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ= +golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/templates/resources/account_project.md.tmpl b/templates/resources/account_project.md.tmpl index da620fb7d..dac38d488 100644 --- a/templates/resources/account_project.md.tmpl +++ b/templates/resources/account_project.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Account" page_title: "Scaleway: scaleway_account_project" diff --git a/templates/resources/account_ssh_key.md.tmpl b/templates/resources/account_ssh_key.md.tmpl index 8972d8692..2948da6df 100644 --- a/templates/resources/account_ssh_key.md.tmpl +++ b/templates/resources/account_ssh_key.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Account" page_title: "Scaleway: scaleway_account_ssh_key" diff --git a/templates/resources/apple_silicon_server.md.tmpl b/templates/resources/apple_silicon_server.md.tmpl index 9a71b7fde..7bd5a3a0f 100644 --- a/templates/resources/apple_silicon_server.md.tmpl +++ b/templates/resources/apple_silicon_server.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Apple Silicon" page_title: "Scaleway: scaleway_apple_silicon" diff --git a/templates/resources/autoscaling_instance_group.md.tmpl b/templates/resources/autoscaling_instance_group.md.tmpl index b80ef5f5e..79dbdc207 100644 --- a/templates/resources/autoscaling_instance_group.md.tmpl +++ b/templates/resources/autoscaling_instance_group.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Autoscaling" page_title: "Scaleway: scaleway_autoscaling_instance_group" diff --git a/templates/resources/autoscaling_instance_policy.md.tmpl b/templates/resources/autoscaling_instance_policy.md.tmpl index b8b87906f..511fd5b33 100644 --- a/templates/resources/autoscaling_instance_policy.md.tmpl +++ b/templates/resources/autoscaling_instance_policy.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Autoscaling" page_title: "Scaleway: scaleway_autoscaling_instance_policy" diff --git a/templates/resources/autoscaling_instance_template.md.tmpl b/templates/resources/autoscaling_instance_template.md.tmpl index 2b6939f9c..ecdca4ce9 100644 --- a/templates/resources/autoscaling_instance_template.md.tmpl +++ b/templates/resources/autoscaling_instance_template.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Autoscaling" page_title: "Scaleway: scaleway_autoscaling_instance_template" diff --git a/templates/resources/baremetal_server.md.tmpl b/templates/resources/baremetal_server.md.tmpl index 80a90bcbc..2032bcc45 100644 --- a/templates/resources/baremetal_server.md.tmpl +++ b/templates/resources/baremetal_server.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Elastic Metal" page_title: "Scaleway: scaleway_baremetal_server" diff --git a/templates/resources/block_snapshot.md.tmpl b/templates/resources/block_snapshot.md.tmpl index ba74ea008..5f0b9f7fa 100644 --- a/templates/resources/block_snapshot.md.tmpl +++ b/templates/resources/block_snapshot.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Block" page_title: "Scaleway: scaleway_block_snapshot" diff --git a/templates/resources/block_volume.md.tmpl b/templates/resources/block_volume.md.tmpl index 1ad9f8f78..7e5e92949 100644 --- a/templates/resources/block_volume.md.tmpl +++ b/templates/resources/block_volume.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Block" page_title: "Scaleway: scaleway_block_volume" diff --git a/templates/resources/cockpit.md.tmpl b/templates/resources/cockpit.md.tmpl index fa771fe81..5674be53a 100644 --- a/templates/resources/cockpit.md.tmpl +++ b/templates/resources/cockpit.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Cockpit" page_title: "Scaleway: scaleway_cockpit" diff --git a/templates/resources/cockpit_alert_manager.md.tmpl b/templates/resources/cockpit_alert_manager.md.tmpl index 232063537..0b20f6a8f 100644 --- a/templates/resources/cockpit_alert_manager.md.tmpl +++ b/templates/resources/cockpit_alert_manager.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Cockpit" page_title: "Scaleway: scaleway_cockpit_alert_manager" diff --git a/templates/resources/cockpit_grafana_user.md.tmpl b/templates/resources/cockpit_grafana_user.md.tmpl index 0484ba599..19afc8956 100644 --- a/templates/resources/cockpit_grafana_user.md.tmpl +++ b/templates/resources/cockpit_grafana_user.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Cockpit" page_title: "Scaleway: scaleway_cockpit_grafana_user" diff --git a/templates/resources/cockpit_source.md.tmpl b/templates/resources/cockpit_source.md.tmpl index 5f90629ae..d71f3df5d 100644 --- a/templates/resources/cockpit_source.md.tmpl +++ b/templates/resources/cockpit_source.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Cockpit" page_title: "Scaleway: scaleway_cockpit_source" diff --git a/templates/resources/cockpit_token.md.tmpl b/templates/resources/cockpit_token.md.tmpl index 6fa40da58..e9d766881 100644 --- a/templates/resources/cockpit_token.md.tmpl +++ b/templates/resources/cockpit_token.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Cockpit" page_title: "Scaleway: scaleway_cockpit_token" diff --git a/templates/resources/container.md.tmpl b/templates/resources/container.md.tmpl index 9cde056b3..7ebd06f39 100644 --- a/templates/resources/container.md.tmpl +++ b/templates/resources/container.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Containers" page_title: "Scaleway: scaleway_container" diff --git a/templates/resources/container_cron.md.tmpl b/templates/resources/container_cron.md.tmpl index 9ab8cf3a0..c7a73bbed 100644 --- a/templates/resources/container_cron.md.tmpl +++ b/templates/resources/container_cron.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Containers" page_title: "Scaleway: scaleway_container_cron" diff --git a/templates/resources/container_domain.md.tmpl b/templates/resources/container_domain.md.tmpl index 029a098f1..b8d86bd2e 100644 --- a/templates/resources/container_domain.md.tmpl +++ b/templates/resources/container_domain.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Containers" page_title: "Scaleway: scaleway_container_domain" diff --git a/templates/resources/container_namespace.md.tmpl b/templates/resources/container_namespace.md.tmpl index 97e9c9fd8..4aa10200e 100644 --- a/templates/resources/container_namespace.md.tmpl +++ b/templates/resources/container_namespace.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Containers" page_title: "Scaleway: scaleway_container_namespace" diff --git a/templates/resources/container_token.md.tmpl b/templates/resources/container_token.md.tmpl index 8d82f7174..74be50b95 100644 --- a/templates/resources/container_token.md.tmpl +++ b/templates/resources/container_token.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Containers" page_title: "Scaleway: scaleway_container_token" diff --git a/templates/resources/container_trigger.md.tmpl b/templates/resources/container_trigger.md.tmpl index d56b9106d..bac6e3ded 100644 --- a/templates/resources/container_trigger.md.tmpl +++ b/templates/resources/container_trigger.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Containers" page_title: "Scaleway: scaleway_container_trigger" diff --git a/templates/resources/domain_record.md.tmpl b/templates/resources/domain_record.md.tmpl index cd757aace..38db17364 100644 --- a/templates/resources/domain_record.md.tmpl +++ b/templates/resources/domain_record.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Domains and DNS" page_title: "Scaleway: scaleway_domain_record" diff --git a/templates/resources/domain_registration.md.tmpl b/templates/resources/domain_registration.md.tmpl index 6e9ea647f..4efcdd3e9 100644 --- a/templates/resources/domain_registration.md.tmpl +++ b/templates/resources/domain_registration.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Domains and DNS" page_title: "Scaleway: scaleway_domain_registration" diff --git a/templates/resources/domain_zone.md.tmpl b/templates/resources/domain_zone.md.tmpl index 7d38929bd..2a3ccf681 100644 --- a/templates/resources/domain_zone.md.tmpl +++ b/templates/resources/domain_zone.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Domains and DNS" page_title: "Scaleway: scaleway_domain_zone" diff --git a/templates/resources/edge_services_backend_stage.md.tmpl b/templates/resources/edge_services_backend_stage.md.tmpl index 209022baf..efd623b4f 100644 --- a/templates/resources/edge_services_backend_stage.md.tmpl +++ b/templates/resources/edge_services_backend_stage.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_backend_stage" diff --git a/templates/resources/edge_services_cache_stage.md.tmpl b/templates/resources/edge_services_cache_stage.md.tmpl index 27e0d3ba5..a2f43e599 100644 --- a/templates/resources/edge_services_cache_stage.md.tmpl +++ b/templates/resources/edge_services_cache_stage.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_cache_stage" diff --git a/templates/resources/edge_services_dns_stage.md.tmpl b/templates/resources/edge_services_dns_stage.md.tmpl index bda3143fb..7c85e9d1c 100644 --- a/templates/resources/edge_services_dns_stage.md.tmpl +++ b/templates/resources/edge_services_dns_stage.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_dns_stage" diff --git a/templates/resources/edge_services_head_stage.md.tmpl b/templates/resources/edge_services_head_stage.md.tmpl index 97603915f..7440a5c54 100644 --- a/templates/resources/edge_services_head_stage.md.tmpl +++ b/templates/resources/edge_services_head_stage.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_head_stage" diff --git a/templates/resources/edge_services_pipeline.md.tmpl b/templates/resources/edge_services_pipeline.md.tmpl index 1dfdc7f6e..ecb472086 100644 --- a/templates/resources/edge_services_pipeline.md.tmpl +++ b/templates/resources/edge_services_pipeline.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_pipeline" diff --git a/templates/resources/edge_services_plan.md.tmpl b/templates/resources/edge_services_plan.md.tmpl index 12788d942..f766ba2d9 100644 --- a/templates/resources/edge_services_plan.md.tmpl +++ b/templates/resources/edge_services_plan.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_plan" diff --git a/templates/resources/edge_services_route_stage.md.tmpl b/templates/resources/edge_services_route_stage.md.tmpl index 87e05a501..33948a696 100644 --- a/templates/resources/edge_services_route_stage.md.tmpl +++ b/templates/resources/edge_services_route_stage.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_route_stage" diff --git a/templates/resources/edge_services_tls_stage.md.tmpl b/templates/resources/edge_services_tls_stage.md.tmpl index 74338444b..afcb07528 100644 --- a/templates/resources/edge_services_tls_stage.md.tmpl +++ b/templates/resources/edge_services_tls_stage.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_tls_stage" diff --git a/templates/resources/edge_services_waf_stage.md.tmpl b/templates/resources/edge_services_waf_stage.md.tmpl index ce1d4881f..a8de68c87 100644 --- a/templates/resources/edge_services_waf_stage.md.tmpl +++ b/templates/resources/edge_services_waf_stage.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Edge Services" page_title: "Scaleway: scaleway_edge_services_waf_stage" diff --git a/templates/resources/file_filesystem.md.tmpl b/templates/resources/file_filesystem.md.tmpl index 38fbebc24..4ee71b067 100644 --- a/templates/resources/file_filesystem.md.tmpl +++ b/templates/resources/file_filesystem.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "File" page_title: "Scaleway: scaleway_file_filesystem" diff --git a/templates/resources/flexible_ip.md.tmpl b/templates/resources/flexible_ip.md.tmpl index 5936d4200..cd730ec3c 100644 --- a/templates/resources/flexible_ip.md.tmpl +++ b/templates/resources/flexible_ip.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Elastic Metal" page_title: "Scaleway: scaleway_flexible_ip" diff --git a/templates/resources/flexible_ip_mac_address.md.tmpl b/templates/resources/flexible_ip_mac_address.md.tmpl index 46acb3ff4..eae4a99a3 100644 --- a/templates/resources/flexible_ip_mac_address.md.tmpl +++ b/templates/resources/flexible_ip_mac_address.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Elastic Metal" page_title: "Scaleway: scaleway_flexible_ip_mac_address" diff --git a/templates/resources/function.md.tmpl b/templates/resources/function.md.tmpl index 9d3a3da55..542ca645f 100644 --- a/templates/resources/function.md.tmpl +++ b/templates/resources/function.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Functions" page_title: "Scaleway: scaleway_function" diff --git a/templates/resources/function_cron.md.tmpl b/templates/resources/function_cron.md.tmpl index 04fba2111..b5c4cd661 100644 --- a/templates/resources/function_cron.md.tmpl +++ b/templates/resources/function_cron.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Functions" page_title: "Scaleway: scaleway_function_cron" diff --git a/templates/resources/function_domain.md.tmpl b/templates/resources/function_domain.md.tmpl index 9cdfb7083..9507e4052 100644 --- a/templates/resources/function_domain.md.tmpl +++ b/templates/resources/function_domain.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Functions" page_title: "Scaleway: scaleway_function_domain" diff --git a/templates/resources/function_namespace.md.tmpl b/templates/resources/function_namespace.md.tmpl index 100a52f95..93254170d 100644 --- a/templates/resources/function_namespace.md.tmpl +++ b/templates/resources/function_namespace.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Functions" page_title: "Scaleway: scaleway_function_namespace" diff --git a/templates/resources/function_token.md.tmpl b/templates/resources/function_token.md.tmpl index ff3b83560..5008aec82 100644 --- a/templates/resources/function_token.md.tmpl +++ b/templates/resources/function_token.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Functions" page_title: "Scaleway: scaleway_function_token" diff --git a/templates/resources/function_trigger.md.tmpl b/templates/resources/function_trigger.md.tmpl index c69754571..bb553664e 100644 --- a/templates/resources/function_trigger.md.tmpl +++ b/templates/resources/function_trigger.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Functions" page_title: "Scaleway: scaleway_function_trigger" diff --git a/templates/resources/iam_api_key.md.tmpl b/templates/resources/iam_api_key.md.tmpl index ab60901be..7436dd5f7 100644 --- a/templates/resources/iam_api_key.md.tmpl +++ b/templates/resources/iam_api_key.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IAM" page_title: "Scaleway: scaleway_iam_api_key" diff --git a/templates/resources/iam_application.md.tmpl b/templates/resources/iam_application.md.tmpl index c2a4c0572..9364e4858 100644 --- a/templates/resources/iam_application.md.tmpl +++ b/templates/resources/iam_application.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IAM" page_title: "Scaleway: scaleway_iam_application" diff --git a/templates/resources/iam_group.md.tmpl b/templates/resources/iam_group.md.tmpl index 18011507e..7b2d6c3b5 100644 --- a/templates/resources/iam_group.md.tmpl +++ b/templates/resources/iam_group.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IAM" page_title: "Scaleway: scaleway_iam_group" diff --git a/templates/resources/iam_group_membership.md.tmpl b/templates/resources/iam_group_membership.md.tmpl index 2cded6dd4..ca027363d 100644 --- a/templates/resources/iam_group_membership.md.tmpl +++ b/templates/resources/iam_group_membership.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IAM" page_title: "Scaleway: scaleway_iam_group_membership" diff --git a/templates/resources/iam_policy.md.tmpl b/templates/resources/iam_policy.md.tmpl index 316ecd059..7bd50fcce 100644 --- a/templates/resources/iam_policy.md.tmpl +++ b/templates/resources/iam_policy.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IAM" page_title: "Scaleway: scaleway_iam_policy" diff --git a/templates/resources/iam_ssh_key.md.tmpl b/templates/resources/iam_ssh_key.md.tmpl index 6936c1ab0..f0d3316ae 100644 --- a/templates/resources/iam_ssh_key.md.tmpl +++ b/templates/resources/iam_ssh_key.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IAM" page_title: "Scaleway: scaleway_iam_ssh_key" diff --git a/templates/resources/iam_user.md.tmpl b/templates/resources/iam_user.md.tmpl index 246ae7493..58c5bfd5d 100644 --- a/templates/resources/iam_user.md.tmpl +++ b/templates/resources/iam_user.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IAM" page_title: "Scaleway: scaleway_iam_user" diff --git a/templates/resources/inference_deployment.md.tmpl b/templates/resources/inference_deployment.md.tmpl index ea118d9c0..7f4774f5b 100644 --- a/templates/resources/inference_deployment.md.tmpl +++ b/templates/resources/inference_deployment.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Inference" page_title: "Scaleway: scaleway_inference_deployment" diff --git a/templates/resources/inference_model.md.tmpl b/templates/resources/inference_model.md.tmpl index e8e6b6545..f6dcbf1d0 100644 --- a/templates/resources/inference_model.md.tmpl +++ b/templates/resources/inference_model.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Inference" page_title: "Scaleway: scaleway_inference_model" diff --git a/templates/resources/instance_image.md.tmpl b/templates/resources/instance_image.md.tmpl index f182e78dd..b070423f9 100644 --- a/templates/resources/instance_image.md.tmpl +++ b/templates/resources/instance_image.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_image" diff --git a/templates/resources/instance_ip.md.tmpl b/templates/resources/instance_ip.md.tmpl index a55c21861..3150c8d64 100644 --- a/templates/resources/instance_ip.md.tmpl +++ b/templates/resources/instance_ip.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_ip" diff --git a/templates/resources/instance_ip_reverse_dns.md.tmpl b/templates/resources/instance_ip_reverse_dns.md.tmpl index 944b63cd4..c965de09d 100644 --- a/templates/resources/instance_ip_reverse_dns.md.tmpl +++ b/templates/resources/instance_ip_reverse_dns.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_ip_reverse_dns" diff --git a/templates/resources/instance_placement_group.md.tmpl b/templates/resources/instance_placement_group.md.tmpl index ddfa539f0..1549b6c48 100644 --- a/templates/resources/instance_placement_group.md.tmpl +++ b/templates/resources/instance_placement_group.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_placement_group" diff --git a/templates/resources/instance_private_nic.md.tmpl b/templates/resources/instance_private_nic.md.tmpl index 4c125855a..bbd30989c 100644 --- a/templates/resources/instance_private_nic.md.tmpl +++ b/templates/resources/instance_private_nic.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_private_nic" diff --git a/templates/resources/instance_security_group.md.tmpl b/templates/resources/instance_security_group.md.tmpl index 70dfbad0a..42813906f 100644 --- a/templates/resources/instance_security_group.md.tmpl +++ b/templates/resources/instance_security_group.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_security_group" diff --git a/templates/resources/instance_security_group_rules.md.tmpl b/templates/resources/instance_security_group_rules.md.tmpl index 40731c198..bf6d04c56 100644 --- a/templates/resources/instance_security_group_rules.md.tmpl +++ b/templates/resources/instance_security_group_rules.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_security_group_rules" diff --git a/templates/resources/instance_server.md.tmpl b/templates/resources/instance_server.md.tmpl index 8a09807e5..07cbf28fd 100644 --- a/templates/resources/instance_server.md.tmpl +++ b/templates/resources/instance_server.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_server" diff --git a/templates/resources/instance_snapshot.md.tmpl b/templates/resources/instance_snapshot.md.tmpl index 3fdbdc0f6..c35950afa 100644 --- a/templates/resources/instance_snapshot.md.tmpl +++ b/templates/resources/instance_snapshot.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_snapshot" diff --git a/templates/resources/instance_user_data.md.tmpl b/templates/resources/instance_user_data.md.tmpl index 7174c39c8..929a75426 100644 --- a/templates/resources/instance_user_data.md.tmpl +++ b/templates/resources/instance_user_data.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_user_data" diff --git a/templates/resources/instance_volume.md.tmpl b/templates/resources/instance_volume.md.tmpl index 98b0eea25..d3b0356f4 100644 --- a/templates/resources/instance_volume.md.tmpl +++ b/templates/resources/instance_volume.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Instances" page_title: "Scaleway: scaleway_instance_volume" diff --git a/templates/resources/iot_device.md.tmpl b/templates/resources/iot_device.md.tmpl index 7812649b2..c7b966fdb 100644 --- a/templates/resources/iot_device.md.tmpl +++ b/templates/resources/iot_device.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IoT Hub" page_title: "Scaleway: scaleway_iot_device" diff --git a/templates/resources/iot_hub.md.tmpl b/templates/resources/iot_hub.md.tmpl index a507e4751..a22cbf5f0 100644 --- a/templates/resources/iot_hub.md.tmpl +++ b/templates/resources/iot_hub.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IoT Hub" page_title: "Scaleway: scaleway_iot_hub" diff --git a/templates/resources/iot_network.md.tmpl b/templates/resources/iot_network.md.tmpl index 7fb4b3e79..e6015876e 100644 --- a/templates/resources/iot_network.md.tmpl +++ b/templates/resources/iot_network.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IoT Hub" page_title: "Scaleway: scaleway_iot_network" diff --git a/templates/resources/iot_route.md.tmpl b/templates/resources/iot_route.md.tmpl index d34df3e9e..6b991082b 100644 --- a/templates/resources/iot_route.md.tmpl +++ b/templates/resources/iot_route.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IoT Hub" page_title: "Scaleway: scaleway_iot_route" diff --git a/templates/resources/ipam_ip.md.tmpl b/templates/resources/ipam_ip.md.tmpl index cae276abc..b42ebedc2 100644 --- a/templates/resources/ipam_ip.md.tmpl +++ b/templates/resources/ipam_ip.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IPAM" page_title: "Scaleway: scaleway_ipam_ip" diff --git a/templates/resources/ipam_ip_reverse_dns.md.tmpl b/templates/resources/ipam_ip_reverse_dns.md.tmpl index fb78c509d..39ddcd944 100644 --- a/templates/resources/ipam_ip_reverse_dns.md.tmpl +++ b/templates/resources/ipam_ip_reverse_dns.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "IPAM" page_title: "Scaleway: scaleway_ipam_ip_reverse_dns" diff --git a/templates/resources/job_definition.md.tmpl b/templates/resources/job_definition.md.tmpl index 2d1b66a45..e7a986a50 100644 --- a/templates/resources/job_definition.md.tmpl +++ b/templates/resources/job_definition.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Jobs" page_title: "Scaleway: scaleway_job_definition" diff --git a/templates/resources/k8s_acl.md.tmpl b/templates/resources/k8s_acl.md.tmpl index 01d971a1b..11c52e9a1 100644 --- a/templates/resources/k8s_acl.md.tmpl +++ b/templates/resources/k8s_acl.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Kubernetes" page_title: "Scaleway: scaleway_k8s_acl" diff --git a/templates/resources/k8s_cluster.md.tmpl b/templates/resources/k8s_cluster.md.tmpl index 8febd1977..3d32af763 100644 --- a/templates/resources/k8s_cluster.md.tmpl +++ b/templates/resources/k8s_cluster.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Kubernetes" page_title: "Scaleway: scaleway_k8s_cluster" diff --git a/templates/resources/k8s_pool.md.tmpl b/templates/resources/k8s_pool.md.tmpl index ceeab8dee..4988d5017 100644 --- a/templates/resources/k8s_pool.md.tmpl +++ b/templates/resources/k8s_pool.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Kubernetes" page_title: "Scaleway: scaleway_k8s_pool" diff --git a/templates/resources/key_manager_key.md.tmpl b/templates/resources/key_manager_key.md.tmpl index d5b0c4f58..2ce9f61bb 100644 --- a/templates/resources/key_manager_key.md.tmpl +++ b/templates/resources/key_manager_key.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Key Manager" page_title: "Scaleway: scaleway_key_manager_key" diff --git a/templates/resources/lb.md.tmpl b/templates/resources/lb.md.tmpl index 1d3d09ae6..df14b64d3 100644 --- a/templates/resources/lb.md.tmpl +++ b/templates/resources/lb.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Load Balancers" page_title: "Scaleway: scaleway_lb" diff --git a/templates/resources/lb_acl.md.tmpl b/templates/resources/lb_acl.md.tmpl index 16f22d3c5..0d0581e5e 100644 --- a/templates/resources/lb_acl.md.tmpl +++ b/templates/resources/lb_acl.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Load Balancers" page_title: "Scaleway: scaleway_lb_acl" diff --git a/templates/resources/lb_backend.md.tmpl b/templates/resources/lb_backend.md.tmpl index 830f8cd56..ad0bd3fd4 100644 --- a/templates/resources/lb_backend.md.tmpl +++ b/templates/resources/lb_backend.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Load Balancers" page_title: "Scaleway: scaleway_lb_backend" diff --git a/templates/resources/lb_certificate.md.tmpl b/templates/resources/lb_certificate.md.tmpl index 6088b3227..8db5c0e5f 100644 --- a/templates/resources/lb_certificate.md.tmpl +++ b/templates/resources/lb_certificate.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Load Balancers" page_title: "Scaleway: scaleway_lb_certificate" diff --git a/templates/resources/lb_frontend.md.tmpl b/templates/resources/lb_frontend.md.tmpl index f7ccbd712..7d867e350 100644 --- a/templates/resources/lb_frontend.md.tmpl +++ b/templates/resources/lb_frontend.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Load Balancers" page_title: "Scaleway: scaleway_lb_frontend" diff --git a/templates/resources/lb_ip.md.tmpl b/templates/resources/lb_ip.md.tmpl index 0889887ed..851a55820 100644 --- a/templates/resources/lb_ip.md.tmpl +++ b/templates/resources/lb_ip.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Load Balancers" page_title: "Scaleway: scaleway_lb_ip" diff --git a/templates/resources/lb_route.md.tmpl b/templates/resources/lb_route.md.tmpl index ee484d5c5..2e1fdde9b 100644 --- a/templates/resources/lb_route.md.tmpl +++ b/templates/resources/lb_route.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Load Balancers" page_title: "Scaleway: scaleway_lb_route" diff --git a/templates/resources/mnq_nats_account.md.tmpl b/templates/resources/mnq_nats_account.md.tmpl index c8cd6ea7f..2cf92b10f 100644 --- a/templates/resources/mnq_nats_account.md.tmpl +++ b/templates/resources/mnq_nats_account.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_nats_account" diff --git a/templates/resources/mnq_nats_credentials.md.tmpl b/templates/resources/mnq_nats_credentials.md.tmpl index 7ea7e0129..3919d9aab 100644 --- a/templates/resources/mnq_nats_credentials.md.tmpl +++ b/templates/resources/mnq_nats_credentials.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_nats_credentials" diff --git a/templates/resources/mnq_sns.md.tmpl b/templates/resources/mnq_sns.md.tmpl index a27f225cb..6019e55e7 100644 --- a/templates/resources/mnq_sns.md.tmpl +++ b/templates/resources/mnq_sns.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_sns" diff --git a/templates/resources/mnq_sns_credentials.md.tmpl b/templates/resources/mnq_sns_credentials.md.tmpl index 9c2985d5c..e9f4eb9ec 100644 --- a/templates/resources/mnq_sns_credentials.md.tmpl +++ b/templates/resources/mnq_sns_credentials.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_sns_credentials" diff --git a/templates/resources/mnq_sns_topic.md.tmpl b/templates/resources/mnq_sns_topic.md.tmpl index 8a242d1a1..a9a012b3f 100644 --- a/templates/resources/mnq_sns_topic.md.tmpl +++ b/templates/resources/mnq_sns_topic.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_sns_topic" diff --git a/templates/resources/mnq_sns_topic_subscription.md.tmpl b/templates/resources/mnq_sns_topic_subscription.md.tmpl index d77951dd8..265b3bef4 100644 --- a/templates/resources/mnq_sns_topic_subscription.md.tmpl +++ b/templates/resources/mnq_sns_topic_subscription.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_sns_topic_subscription" diff --git a/templates/resources/mnq_sqs.md.tmpl b/templates/resources/mnq_sqs.md.tmpl index f94c9adea..9b2d9f0ce 100644 --- a/templates/resources/mnq_sqs.md.tmpl +++ b/templates/resources/mnq_sqs.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_sqs" diff --git a/templates/resources/mnq_sqs_credentials.md.tmpl b/templates/resources/mnq_sqs_credentials.md.tmpl index 7e2e4c517..73b7be213 100644 --- a/templates/resources/mnq_sqs_credentials.md.tmpl +++ b/templates/resources/mnq_sqs_credentials.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_sqs_credentials" diff --git a/templates/resources/mnq_sqs_queue.md.tmpl b/templates/resources/mnq_sqs_queue.md.tmpl index 1be90661d..7b6d80d20 100644 --- a/templates/resources/mnq_sqs_queue.md.tmpl +++ b/templates/resources/mnq_sqs_queue.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Messaging and Queuing" page_title: "Scaleway: scaleway_mnq_sqs_queue" diff --git a/templates/resources/mongodb_instance.md.tmpl b/templates/resources/mongodb_instance.md.tmpl index 190c7fa64..ba8f3df0a 100644 --- a/templates/resources/mongodb_instance.md.tmpl +++ b/templates/resources/mongodb_instance.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "MongoDB®" page_title: "Scaleway: scaleway_mongodb_instance" diff --git a/templates/resources/mongodb_snapshot.md.tmpl b/templates/resources/mongodb_snapshot.md.tmpl index ddb602043..33d277bdd 100644 --- a/templates/resources/mongodb_snapshot.md.tmpl +++ b/templates/resources/mongodb_snapshot.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "MongoDB®" page_title: "Scaleway: scaleway_mongodb_snapshot" diff --git a/templates/resources/mongodb_user.md.tmpl b/templates/resources/mongodb_user.md.tmpl index 62b52996a..674d7e700 100644 --- a/templates/resources/mongodb_user.md.tmpl +++ b/templates/resources/mongodb_user.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "MongoDB®" page_title: "Scaleway: scaleway_mongodb_user" diff --git a/templates/resources/object.md.tmpl b/templates/resources/object.md.tmpl index 046445dc7..5537cda03 100644 --- a/templates/resources/object.md.tmpl +++ b/templates/resources/object.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Object Storage" page_title: "Scaleway: scaleway_object" diff --git a/templates/resources/object_bucket.md.tmpl b/templates/resources/object_bucket.md.tmpl index 8c9c747f9..0a91008ec 100644 --- a/templates/resources/object_bucket.md.tmpl +++ b/templates/resources/object_bucket.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Object Storage" page_title: "Scaleway: scaleway_object_bucket" diff --git a/templates/resources/object_bucket_acl.md.tmpl b/templates/resources/object_bucket_acl.md.tmpl index 917651692..7f45e2eee 100644 --- a/templates/resources/object_bucket_acl.md.tmpl +++ b/templates/resources/object_bucket_acl.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Object Storage" page_title: "Scaleway: scaleway_object_bucket_acl" diff --git a/templates/resources/object_bucket_lock_configuration.md.tmpl b/templates/resources/object_bucket_lock_configuration.md.tmpl index 841d46732..50917eb5d 100644 --- a/templates/resources/object_bucket_lock_configuration.md.tmpl +++ b/templates/resources/object_bucket_lock_configuration.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Object Storage" page_title: "Scaleway: scaleway_object_bucket_lock_configuration" diff --git a/templates/resources/object_bucket_policy.md.tmpl b/templates/resources/object_bucket_policy.md.tmpl index d0db56c82..7c50eef20 100644 --- a/templates/resources/object_bucket_policy.md.tmpl +++ b/templates/resources/object_bucket_policy.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Object Storage" page_title: "Scaleway: scaleway_object_bucket_policy" diff --git a/templates/resources/object_bucket_website_configuration.md.tmpl b/templates/resources/object_bucket_website_configuration.md.tmpl index f8bc73818..ba3b82d93 100644 --- a/templates/resources/object_bucket_website_configuration.md.tmpl +++ b/templates/resources/object_bucket_website_configuration.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Object Storage" page_title: "Scaleway: scaleway_object_bucket_website_configuration" diff --git a/templates/resources/rdb_acl.md.tmpl b/templates/resources/rdb_acl.md.tmpl index 14effbcac..b463cbc87 100644 --- a/templates/resources/rdb_acl.md.tmpl +++ b/templates/resources/rdb_acl.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_rdb_acl" diff --git a/templates/resources/rdb_database.md.tmpl b/templates/resources/rdb_database.md.tmpl index c8f0e0c5a..f8f5a149e 100644 --- a/templates/resources/rdb_database.md.tmpl +++ b/templates/resources/rdb_database.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_rdb_database" diff --git a/templates/resources/rdb_database_backup.md.tmpl b/templates/resources/rdb_database_backup.md.tmpl index 642c21c77..97b5789b1 100644 --- a/templates/resources/rdb_database_backup.md.tmpl +++ b/templates/resources/rdb_database_backup.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_rdb_database_backup" diff --git a/templates/resources/rdb_instance.md.tmpl b/templates/resources/rdb_instance.md.tmpl index 37be207bc..5dac139ea 100644 --- a/templates/resources/rdb_instance.md.tmpl +++ b/templates/resources/rdb_instance.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_rdb_instance" diff --git a/templates/resources/rdb_privilege.md.tmpl b/templates/resources/rdb_privilege.md.tmpl index a387b98f8..3aea348c4 100644 --- a/templates/resources/rdb_privilege.md.tmpl +++ b/templates/resources/rdb_privilege.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_rdb_privilege" diff --git a/templates/resources/rdb_read_replica.md.tmpl b/templates/resources/rdb_read_replica.md.tmpl index 2e491e9c7..f9c2837f7 100644 --- a/templates/resources/rdb_read_replica.md.tmpl +++ b/templates/resources/rdb_read_replica.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_rdb_read_replica" diff --git a/templates/resources/rdb_snapshot.md.tmpl b/templates/resources/rdb_snapshot.md.tmpl index f5db633bd..676f23648 100644 --- a/templates/resources/rdb_snapshot.md.tmpl +++ b/templates/resources/rdb_snapshot.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_rdb_snapshot" diff --git a/templates/resources/rdb_user.md.tmpl b/templates/resources/rdb_user.md.tmpl index 96be7b46b..1b33a36b0 100644 --- a/templates/resources/rdb_user.md.tmpl +++ b/templates/resources/rdb_user.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_rdb_user" diff --git a/templates/resources/redis_cluster.md.tmpl b/templates/resources/redis_cluster.md.tmpl index cc63b4248..5cafb8a82 100644 --- a/templates/resources/redis_cluster.md.tmpl +++ b/templates/resources/redis_cluster.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Redis" page_title: "Scaleway: scaleway_redis_cluster" diff --git a/templates/resources/registry_namespace.md.tmpl b/templates/resources/registry_namespace.md.tmpl index 22109e8de..2d907f5e2 100644 --- a/templates/resources/registry_namespace.md.tmpl +++ b/templates/resources/registry_namespace.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Container Registry" page_title: "Scaleway: scaleway_registry_namespace" diff --git a/templates/resources/sdb_sql_database.md.tmpl b/templates/resources/sdb_sql_database.md.tmpl index 560d74809..d8854b256 100644 --- a/templates/resources/sdb_sql_database.md.tmpl +++ b/templates/resources/sdb_sql_database.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Databases" page_title: "Scaleway: scaleway_sdb_sql_database" diff --git a/templates/resources/secret.md.tmpl b/templates/resources/secret.md.tmpl index 7327eacbd..a7fecb6d1 100644 --- a/templates/resources/secret.md.tmpl +++ b/templates/resources/secret.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Secrets" page_title: "Scaleway: scaleway_secret" diff --git a/templates/resources/secret_version.md.tmpl b/templates/resources/secret_version.md.tmpl index c50bcf028..9d6d2a306 100644 --- a/templates/resources/secret_version.md.tmpl +++ b/templates/resources/secret_version.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Secrets" page_title: "Scaleway: scaleway_secret_version" diff --git a/templates/resources/tem_blocked_list.md.tmpl b/templates/resources/tem_blocked_list.md.tmpl index 4527e1095..d709c07e2 100644 --- a/templates/resources/tem_blocked_list.md.tmpl +++ b/templates/resources/tem_blocked_list.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Transactional Email" page_title: "Scaleway: scaleway_tem_blocked_list" diff --git a/templates/resources/tem_domain.md.tmpl b/templates/resources/tem_domain.md.tmpl index 156f12b36..527727a83 100644 --- a/templates/resources/tem_domain.md.tmpl +++ b/templates/resources/tem_domain.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Transactional Email" page_title: "Scaleway: scaleway_tem_domain" diff --git a/templates/resources/tem_domain_validation.md.tmpl b/templates/resources/tem_domain_validation.md.tmpl index cd115dbc6..3544ff442 100644 --- a/templates/resources/tem_domain_validation.md.tmpl +++ b/templates/resources/tem_domain_validation.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Transactional Email" page_title: "Scaleway: scaleway_tem_domain" diff --git a/templates/resources/tem_webhook.md.tmpl b/templates/resources/tem_webhook.md.tmpl index 46cd312f7..f180e1508 100644 --- a/templates/resources/tem_webhook.md.tmpl +++ b/templates/resources/tem_webhook.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Transactional Email" page_title: "Scaleway: scaleway_tem_webhook" diff --git a/templates/resources/vpc.md.tmpl b/templates/resources/vpc.md.tmpl index d95124277..f4df3d01e 100644 --- a/templates/resources/vpc.md.tmpl +++ b/templates/resources/vpc.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc" diff --git a/templates/resources/vpc_acl.md.tmpl b/templates/resources/vpc_acl.md.tmpl index adbef07ad..bbc247830 100644 --- a/templates/resources/vpc_acl.md.tmpl +++ b/templates/resources/vpc_acl.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_acl" diff --git a/templates/resources/vpc_gateway_network.md.tmpl b/templates/resources/vpc_gateway_network.md.tmpl index 84d2b0f5f..322b1d741 100644 --- a/templates/resources/vpc_gateway_network.md.tmpl +++ b/templates/resources/vpc_gateway_network.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_gateway_network" diff --git a/templates/resources/vpc_private_network.md.tmpl b/templates/resources/vpc_private_network.md.tmpl index f949075df..9f2e495e1 100644 --- a/templates/resources/vpc_private_network.md.tmpl +++ b/templates/resources/vpc_private_network.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_private_network" diff --git a/templates/resources/vpc_public_gateway.md.tmpl b/templates/resources/vpc_public_gateway.md.tmpl index 4f0035603..d59c80dba 100644 --- a/templates/resources/vpc_public_gateway.md.tmpl +++ b/templates/resources/vpc_public_gateway.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_public_gateway" diff --git a/templates/resources/vpc_public_gateway_dhcp.md.tmpl b/templates/resources/vpc_public_gateway_dhcp.md.tmpl index f3aef2465..addfc1972 100644 --- a/templates/resources/vpc_public_gateway_dhcp.md.tmpl +++ b/templates/resources/vpc_public_gateway_dhcp.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_public_gateway_dhcp" diff --git a/templates/resources/vpc_public_gateway_dhcp_reservation.md.tmpl b/templates/resources/vpc_public_gateway_dhcp_reservation.md.tmpl index a6d8a86e2..3a6783295 100644 --- a/templates/resources/vpc_public_gateway_dhcp_reservation.md.tmpl +++ b/templates/resources/vpc_public_gateway_dhcp_reservation.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_public_gateway_dhcp_reservation" diff --git a/templates/resources/vpc_public_gateway_ip.md.tmpl b/templates/resources/vpc_public_gateway_ip.md.tmpl index 2fdeef4a5..25bf1b630 100644 --- a/templates/resources/vpc_public_gateway_ip.md.tmpl +++ b/templates/resources/vpc_public_gateway_ip.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_public_gateway_ip" diff --git a/templates/resources/vpc_public_gateway_ip_reverse_dns.md.tmpl b/templates/resources/vpc_public_gateway_ip_reverse_dns.md.tmpl index 40668e357..e9cdd3172 100644 --- a/templates/resources/vpc_public_gateway_ip_reverse_dns.md.tmpl +++ b/templates/resources/vpc_public_gateway_ip_reverse_dns.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_public_gateway_ip_reverse_dns" diff --git a/templates/resources/vpc_public_gateway_pat_rule.md.tmpl b/templates/resources/vpc_public_gateway_pat_rule.md.tmpl index caba761f1..1cece88cd 100644 --- a/templates/resources/vpc_public_gateway_pat_rule.md.tmpl +++ b/templates/resources/vpc_public_gateway_pat_rule.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_public_gateway_pat_rule" diff --git a/templates/resources/vpc_route.md.tmpl b/templates/resources/vpc_route.md.tmpl index dad715eda..603dd28f5 100644 --- a/templates/resources/vpc_route.md.tmpl +++ b/templates/resources/vpc_route.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "VPC" page_title: "Scaleway: scaleway_vpc_route" diff --git a/templates/resources/webhosting.md.tmpl b/templates/resources/webhosting.md.tmpl index ee3215638..eeb1910e5 100644 --- a/templates/resources/webhosting.md.tmpl +++ b/templates/resources/webhosting.md.tmpl @@ -1,3 +1,4 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} --- subcategory: "Web Hosting" page_title: "Scaleway: scaleway_webhosting" diff --git a/templates/template_test.go b/templates/template_test.go new file mode 100644 index 000000000..17fe69680 --- /dev/null +++ b/templates/template_test.go @@ -0,0 +1,42 @@ +package template_test + +import ( + "bufio" + "io/fs" + "os" + "path/filepath" + "regexp" + "strings" + "testing" +) + +var gotypeRE = regexp.MustCompile(`\{\{.*gotype:.*}}`) + +func TestGoTypeDefined(t *testing.T) { + err := filepath.WalkDir("resources", func(path string, _ fs.DirEntry, _ error) error { + if isTemplate := strings.Contains(path, "tmpl"); isTemplate { + f, err := os.Open(path) + if err != nil { + t.Fatalf("cannot open %s", path) + } + defer f.Close() + + scanner := bufio.NewScanner(f) + if !scanner.Scan() { + t.Logf("❌ %s: file is empty", path) + t.Fail() + } + firstLine := scanner.Text() + if gotypeRE.MatchString(firstLine) { + return nil + } + t.Logf("gotype missing at top of file: %s", path) + t.Fail() + } + + return nil + }) + if err != nil { + return + } +}