From 1e0be6232477d22ad74f06427a5085828ec0862b Mon Sep 17 00:00:00 2001 From: Florian Lemaitre Date: Sat, 25 May 2024 15:04:11 +0200 Subject: [PATCH 1/2] Use example framework of cargo --- Cargo.lock | 299 ++++++++---------- Cargo.toml | 42 +-- ...resource.rs => terraform-provider-null.rs} | 65 +++- examples/terraform-provider-null/Cargo.toml | 18 -- .../{tf-test => }/main.tf | 0 examples/terraform-provider-null/src/main.rs | 28 -- .../src/null_provider.rs | 76 ----- .../0.1.0/linux_amd64/terraform-provider-null | 1 + .../0.1.0/linux_amd64/terraform-provider-null | 1 - 9 files changed, 212 insertions(+), 318 deletions(-) rename examples/{terraform-provider-null/src/null_resource.rs => terraform-provider-null.rs} (75%) delete mode 100644 examples/terraform-provider-null/Cargo.toml rename examples/terraform-provider-null/{tf-test => }/main.tf (100%) delete mode 100644 examples/terraform-provider-null/src/main.rs delete mode 100644 examples/terraform-provider-null/src/null_provider.rs create mode 120000 examples/terraform-provider-null/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null delete mode 120000 examples/terraform-provider-null/tf-test/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null diff --git a/Cargo.lock b/Cargo.lock index ee70546..87c1245 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,9 +28,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.81" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "async-stream" @@ -56,9 +56,9 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.78" +version = "0.1.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "461abc97219de0eaaf81fe3ef974a540158f3d079c2ab200f891f1a2ef201e85" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", @@ -67,9 +67,9 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "axum" @@ -139,9 +139,9 @@ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64" -version = "0.22.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "bitflags" @@ -169,9 +169,9 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "cc" -version = "1.0.90" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" +checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" [[package]] name = "cfg-if" @@ -190,9 +190,9 @@ dependencies = [ [[package]] name = "either" -version = "1.10.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" +checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" [[package]] name = "equivalent" @@ -202,9 +202,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -212,9 +212,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "fixedbitset" @@ -319,9 +319,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.12" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -336,9 +336,9 @@ checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" [[package]] name = "h2" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fbd2820c5e49886948654ab546d0688ff24530286bdcf8fca3cefb16d4618eb" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", @@ -361,24 +361,15 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "http" @@ -473,23 +464,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.14.3", + "hashbrown 0.14.5", ] [[package]] name = "itertools" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "lazy_static" @@ -499,15 +490,15 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.153" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "linux-raw-sys" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "log" @@ -523,9 +514,9 @@ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" [[package]] name = "memchr" -version = "2.7.1" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "mime" @@ -535,9 +526,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" dependencies = [ "adler", ] @@ -555,9 +546,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" [[package]] name = "nu-ansi-term" @@ -577,9 +568,9 @@ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] name = "num-traits" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", ] @@ -607,17 +598,17 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pem" -version = "3.0.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310" +checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "serde", ] @@ -629,9 +620,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "petgraph" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", "indexmap 2.2.6", @@ -659,9 +650,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -683,9 +674,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "prettyplease" -version = "0.2.16" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", "syn", @@ -693,18 +684,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.79" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" +checksum = "0b33eb56c327dec362a9e55b3ad14f9d2f0904fb5a5b03b513ab5465399e9f43" dependencies = [ "unicode-ident", ] [[package]] name = "prost" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ "bytes", "prost-derive", @@ -712,9 +703,9 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2" +checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes", "heck", @@ -729,14 +720,13 @@ dependencies = [ "regex", "syn", "tempfile", - "which", ] [[package]] name = "prost-derive" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", "itertools", @@ -747,18 +737,18 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" dependencies = [ "prost", ] [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -830,9 +820,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "ring" @@ -851,9 +841,9 @@ dependencies = [ [[package]] name = "rmp" -version = "0.8.12" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9860a6cc38ed1da53456442089b4dfa35e7cedaa326df63017af88385e6b20" +checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4" dependencies = [ "byteorder", "num-traits", @@ -862,9 +852,9 @@ dependencies = [ [[package]] name = "rmp-serde" -version = "1.1.2" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bffea85eea980d8a74453e5d02a8d93028f3c34725de143085a844ebe953258a" +checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" dependencies = [ "byteorder", "rmp", @@ -873,15 +863,15 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustix" -version = "0.38.32" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ "bitflags 2.5.0", "errno", @@ -892,9 +882,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.22.2" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" dependencies = [ "log", "ring", @@ -906,25 +896,25 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "2.1.1" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f48172685e6ff52a556baa527774f61fcaa884f59daf3375c62a3f1cd2549dab" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "rustls-pki-types", ] [[package]] name = "rustls-pki-types" -version = "1.4.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "868e20fada228fefaf6b652e00cc73623d54f8171e7352c18bb281571f2d92da" +checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" [[package]] name = "rustls-webpki" -version = "0.102.2" +version = "0.102.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610" +checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e" dependencies = [ "ring", "rustls-pki-types", @@ -933,21 +923,21 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "ryu" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "serde" -version = "1.0.197" +version = "1.0.202" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" dependencies = [ "serde_derive", ] @@ -963,9 +953,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.202" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" dependencies = [ "proc-macro2", "quote", @@ -974,9 +964,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.114" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "itoa", "ryu", @@ -1009,9 +999,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "socket2" -version = "0.5.6" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", "windows-sys 0.52.0", @@ -1031,9 +1021,9 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "syn" -version = "2.0.53" +version = "2.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7383cd0e49fff4b6b90ca5670bfd3e9d6a733b3f90c686605aa7eec8c4996032" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" dependencies = [ "proc-macro2", "quote", @@ -1058,18 +1048,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "terraform-provider-null" -version = "0.1.0" -dependencies = [ - "anyhow", - "async-trait", - "rand", - "serde", - "tf-provider", - "tokio", -] - [[package]] name = "tf-provider" version = "0.1.0" @@ -1077,10 +1055,11 @@ dependencies = [ "anyhow", "async-stream", "async-trait", - "base64 0.22.0", + "base64 0.22.1", "futures", "pem", "prost", + "rand", "rcgen", "rmp-serde", "serde", @@ -1109,9 +1088,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "num-conv", @@ -1128,9 +1107,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "tokio" -version = "1.36.0" +version = "1.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", "bytes", @@ -1188,16 +1167,15 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ "bytes", "futures-core", "futures-sink", "pin-project-lite", "tokio", - "tracing", ] [[package]] @@ -1403,18 +1381,6 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - [[package]] name = "winapi" version = "0.3.9" @@ -1452,7 +1418,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.4", + "windows-targets 0.52.5", ] [[package]] @@ -1472,17 +1438,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" dependencies = [ - "windows_aarch64_gnullvm 0.52.4", - "windows_aarch64_msvc 0.52.4", - "windows_i686_gnu 0.52.4", - "windows_i686_msvc 0.52.4", - "windows_x86_64_gnu 0.52.4", - "windows_x86_64_gnullvm 0.52.4", - "windows_x86_64_msvc 0.52.4", + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", ] [[package]] @@ -1493,9 +1460,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" [[package]] name = "windows_aarch64_msvc" @@ -1505,9 +1472,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" [[package]] name = "windows_i686_gnu" @@ -1517,9 +1484,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.4" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" [[package]] name = "windows_i686_msvc" @@ -1529,9 +1502,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" [[package]] name = "windows_x86_64_gnu" @@ -1541,9 +1514,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" [[package]] name = "windows_x86_64_gnullvm" @@ -1553,9 +1526,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" [[package]] name = "windows_x86_64_msvc" @@ -1565,9 +1538,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" [[package]] name = "yasna" diff --git a/Cargo.toml b/Cargo.toml index dbc5695..add4b02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,49 +1,33 @@ -[workspace] -members = ["examples/*"] -resolver = "2" - -[workspace.package] +[package] authors = ["Florian Lemaitre "] +description = "Plugin framework for Terraform and ToFu" edition = "2021" +include = ["**/*.rs", "Cargo.toml", "LICENSE", "proto/*.proto"] license = "Apache-2.0" +name = "tf-provider" repository = "https://github.com/aneoconsulting/tf-provider" version = "0.1.0" -[workspace.dependencies] -anyhow = "1" -async-trait = "0.1" -rand = "0.8" -serde = { version = "1.0", features = ["derive"] } -tokio = "1.0" - [profile.release] strip = "debuginfo" -[package] -name = "tf-provider" - -description = "Plugin framework for Terraform and ToFu" -include = ["**/*.rs", "Cargo.toml", "LICENSE", "proto/*.proto"] - -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -version.workspace = true - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +anyhow = "1" async-stream = "0.3" +async-trait = "0.1" base64 = "0.22" futures = "0.3" pem = "3.0" prost = "0.12" -rcgen = "0.12.1" +rcgen = "0.12" rmp-serde = "1.1" +serde = { version = "1.0", features = ["derive"] } serde_bytes = "0.11" serde_json = "1.0" time = "0.3" +tokio = "1.0" tokio-stream = { version = "0.1", features = ["net", "sync"] } tokio-util = "0.7" tonic = { version = "0.11", features = ["tls", "transport"] } @@ -51,10 +35,8 @@ tower-http = { version = "0.4", features = ["trace"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["fmt", "json", "std"] } -anyhow.workspace = true -async-trait.workspace = true -serde.workspace = true -tokio.workspace = true - [build-dependencies] tonic-build = "0.11" + +[dev-dependencies] +rand = "0.8" diff --git a/examples/terraform-provider-null/src/null_resource.rs b/examples/terraform-provider-null.rs similarity index 75% rename from examples/terraform-provider-null/src/null_resource.rs rename to examples/terraform-provider-null.rs index dc7bb15..5677297 100644 --- a/examples/terraform-provider-null/src/null_resource.rs +++ b/examples/terraform-provider-null.rs @@ -16,14 +16,15 @@ use std::borrow::Cow; +use anyhow::Result; use async_trait::async_trait; use rand::distributions::Alphanumeric; use rand::{thread_rng, Rng}; use serde::{Deserialize, Serialize}; use tf_provider::{ - map, Attribute, AttributeConstraint, AttributePath, AttributeType, Block, Description, - Diagnostics, Resource, Schema, ValueEmpty, ValueMap, ValueString, + map, serve, Attribute, AttributeConstraint, AttributePath, AttributeType, Block, Description, + Diagnostics, Provider, Resource, Schema, ValueEmpty, ValueMap, ValueString, }; #[derive(Debug, Clone, Serialize, Deserialize, Default)] @@ -163,3 +164,63 @@ impl Resource for NullResource { Some(()) } } + +#[derive(Debug, Default, Clone)] +pub struct NullProvider; + +#[async_trait] +impl Provider for NullProvider { + type Config<'a> = ValueEmpty; + type MetaState<'a> = ValueEmpty; + + fn schema(&self, _diags: &mut tf_provider::Diagnostics) -> Option { + Some(Schema { + version: 1, + block: Block { + description: Description::plain("null"), + ..Default::default() + }, + }) + } + + async fn validate<'a>( + &self, + _diags: &mut tf_provider::Diagnostics, + _config: Self::Config<'a>, + ) -> Option<()> { + Some(()) + } + + async fn configure<'a>( + &self, + _diags: &mut tf_provider::Diagnostics, + _terraform_version: String, + _config: Self::Config<'a>, + ) -> Option<()> { + Some(()) + } + + fn get_resources( + &self, + _diags: &mut tf_provider::Diagnostics, + ) -> Option>> + { + Some(map! { + "resource" => NullResource, + }) + } + + fn get_data_sources( + &self, + _diags: &mut tf_provider::Diagnostics, + ) -> Option< + std::collections::HashMap>, + > { + Some(map! {}) + } +} + +#[tokio::main(flavor = "current_thread")] +async fn main() -> Result<()> { + serve("null", NullProvider).await +} diff --git a/examples/terraform-provider-null/Cargo.toml b/examples/terraform-provider-null/Cargo.toml deleted file mode 100644 index 9f4b812..0000000 --- a/examples/terraform-provider-null/Cargo.toml +++ /dev/null @@ -1,18 +0,0 @@ -[package] -name = "terraform-provider-null" -publish = false - -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -version.workspace = true - -[dependencies] -tf-provider = { path = "../../" } - -anyhow.workspace = true -async-trait.workspace = true -rand.workspace = true -serde.workspace = true -tokio.workspace = true diff --git a/examples/terraform-provider-null/tf-test/main.tf b/examples/terraform-provider-null/main.tf similarity index 100% rename from examples/terraform-provider-null/tf-test/main.tf rename to examples/terraform-provider-null/main.tf diff --git a/examples/terraform-provider-null/src/main.rs b/examples/terraform-provider-null/src/main.rs deleted file mode 100644 index 5eebf14..0000000 --- a/examples/terraform-provider-null/src/main.rs +++ /dev/null @@ -1,28 +0,0 @@ -// This file is part of the tf-provider project -// -// Copyright (C) ANEO, 2024-2024. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License") -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -mod null_provider; -mod null_resource; - -use anyhow::Result; - -use null_provider::NullProvider; -use tf_provider::serve; - -#[tokio::main(flavor = "current_thread")] -async fn main() -> Result<()> { - serve("null", NullProvider).await -} diff --git a/examples/terraform-provider-null/src/null_provider.rs b/examples/terraform-provider-null/src/null_provider.rs deleted file mode 100644 index f319ed6..0000000 --- a/examples/terraform-provider-null/src/null_provider.rs +++ /dev/null @@ -1,76 +0,0 @@ -// This file is part of the tf-provider project -// -// Copyright (C) ANEO, 2024-2024. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License") -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use async_trait::async_trait; - -use tf_provider::{map, Block, Description, Provider, Schema, ValueEmpty}; - -use crate::null_resource::NullResource; - -#[derive(Debug, Default, Clone)] -pub struct NullProvider; - -#[async_trait] -impl Provider for NullProvider { - type Config<'a> = ValueEmpty; - type MetaState<'a> = ValueEmpty; - - fn schema(&self, _diags: &mut tf_provider::Diagnostics) -> Option { - Some(Schema { - version: 1, - block: Block { - description: Description::plain("null"), - ..Default::default() - }, - }) - } - - async fn validate<'a>( - &self, - _diags: &mut tf_provider::Diagnostics, - _config: Self::Config<'a>, - ) -> Option<()> { - Some(()) - } - - async fn configure<'a>( - &self, - _diags: &mut tf_provider::Diagnostics, - _terraform_version: String, - _config: Self::Config<'a>, - ) -> Option<()> { - Some(()) - } - - fn get_resources( - &self, - _diags: &mut tf_provider::Diagnostics, - ) -> Option>> - { - Some(map! { - "resource" => NullResource, - }) - } - - fn get_data_sources( - &self, - _diags: &mut tf_provider::Diagnostics, - ) -> Option< - std::collections::HashMap>, - > { - Some(map! {}) - } -} diff --git a/examples/terraform-provider-null/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null b/examples/terraform-provider-null/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null new file mode 120000 index 0000000..da3e3e4 --- /dev/null +++ b/examples/terraform-provider-null/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null @@ -0,0 +1 @@ +../../../../../../../../../target/debug/examples/terraform-provider-null \ No newline at end of file diff --git a/examples/terraform-provider-null/tf-test/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null b/examples/terraform-provider-null/tf-test/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null deleted file mode 120000 index 789fdf8..0000000 --- a/examples/terraform-provider-null/tf-test/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null +++ /dev/null @@ -1 +0,0 @@ -../../../../../../../../target/debug/terraform-provider-null \ No newline at end of file From 62d475bb0a535012b794d58402d42da3bc895ae9 Mon Sep 17 00:00:00 2001 From: Florian Lemaitre Date: Sat, 25 May 2024 15:39:04 +0200 Subject: [PATCH 2/2] Test examples in pipeline --- .github/workflows/test.yml | 22 ++++++++++++++++++- examples/terraform-provider-null/terraform.d | 1 + .../0.1.0/linux_amd64/terraform-provider-null | 1 - terraform.d/bin | 1 + .../darwin_amd64/terraform-provider-null | 1 + .../darwin_arm64/terraform-provider-null | 1 + .../0.1.0/linux_amd64/terraform-provider-null | 1 + .../windows_amd64/terraform-provider-null.exe | 1 + 8 files changed, 27 insertions(+), 2 deletions(-) create mode 120000 examples/terraform-provider-null/terraform.d delete mode 120000 examples/terraform-provider-null/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null create mode 120000 terraform.d/bin create mode 120000 terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_amd64/terraform-provider-null create mode 120000 terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_arm64/terraform-provider-null create mode 120000 terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null create mode 120000 terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/windows_amd64/terraform-provider-null.exe diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fdc161e..bec5a85 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,7 +61,7 @@ jobs: #- { platform: sparc64-unknown-linux-gnu, os: linux, runner: ubuntu-latest, run: true } # Incompatible Ring: unknown Arch # MacOS - - { platform: aarch64-apple-darwin, os: darwin, runner: macos-latest, run: false } + - { platform: aarch64-apple-darwin, os: darwin, runner: macos-latest, run: true } - { platform: x86_64-apple-darwin, os: darwin, runner: macos-latest, run: true } # Windows @@ -97,6 +97,9 @@ jobs: uses: taiki-e/setup-cross-toolchain-action@v1 with: target: ${{ matrix.target.platform }} + - name: Install terraform + if: matrix.target.run + uses: hashicorp/setup-terraform@v3 - name: Setup Cache uses: Swatinem/rust-cache@v2.7.3 with: @@ -104,6 +107,9 @@ jobs: - name: Build run: | cargo build --all --locked + - name: Build Examples + run: | + cargo build --examples --locked - name: Test if: matrix.target.run run: | @@ -116,6 +122,20 @@ jobs: if: contains(matrix.toolchain, 'nightly') run: | cargo miri test --all --locked + - name: Test Examples + if: matrix.target.run + shell: bash + run: | + rm terraform.d/bin + ln -s ../target/${{ matrix.target.platform }}/debug/examples terraform.d/bin + for d in examples/*/; do + ( + cd "$d" + terraform init + terraform apply -auto-approve + terraform destroy -auto-approve + ) + done - name: Format run: | cargo fmt --all --check diff --git a/examples/terraform-provider-null/terraform.d b/examples/terraform-provider-null/terraform.d new file mode 120000 index 0000000..a1f7d0d --- /dev/null +++ b/examples/terraform-provider-null/terraform.d @@ -0,0 +1 @@ +../../terraform.d \ No newline at end of file diff --git a/examples/terraform-provider-null/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null b/examples/terraform-provider-null/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null deleted file mode 120000 index da3e3e4..0000000 --- a/examples/terraform-provider-null/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null +++ /dev/null @@ -1 +0,0 @@ -../../../../../../../../../target/debug/examples/terraform-provider-null \ No newline at end of file diff --git a/terraform.d/bin b/terraform.d/bin new file mode 120000 index 0000000..f124444 --- /dev/null +++ b/terraform.d/bin @@ -0,0 +1 @@ +../target/debug/examples \ No newline at end of file diff --git a/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_amd64/terraform-provider-null b/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_amd64/terraform-provider-null new file mode 120000 index 0000000..d4e1c6d --- /dev/null +++ b/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_amd64/terraform-provider-null @@ -0,0 +1 @@ +../../../../../../bin/terraform-provider-null \ No newline at end of file diff --git a/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_arm64/terraform-provider-null b/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_arm64/terraform-provider-null new file mode 120000 index 0000000..d4e1c6d --- /dev/null +++ b/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_arm64/terraform-provider-null @@ -0,0 +1 @@ +../../../../../../bin/terraform-provider-null \ No newline at end of file diff --git a/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null b/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null new file mode 120000 index 0000000..d4e1c6d --- /dev/null +++ b/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null @@ -0,0 +1 @@ +../../../../../../bin/terraform-provider-null \ No newline at end of file diff --git a/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/windows_amd64/terraform-provider-null.exe b/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/windows_amd64/terraform-provider-null.exe new file mode 120000 index 0000000..613964c --- /dev/null +++ b/terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/windows_amd64/terraform-provider-null.exe @@ -0,0 +1 @@ +../../../../../../bin/terraform-provider-null.exe \ No newline at end of file