feat: Semaine 14
This commit is contained in:
+2
-1
@@ -2,4 +2,5 @@ desktop.ini
|
|||||||
**/__pycache__/
|
**/__pycache__/
|
||||||
**/.venv/
|
**/.venv/
|
||||||
**/vendor
|
**/vendor
|
||||||
**/.vscode/
|
**/.vscode/
|
||||||
|
**/.terraform
|
||||||
-187
@@ -1,187 +0,0 @@
|
|||||||
# This file is maintained automatically by "tofu init".
|
|
||||||
# Manual edits may be lost in future updates.
|
|
||||||
|
|
||||||
provider "registry.opentofu.org/hashicorp/aws" {
|
|
||||||
version = "6.64.0"
|
|
||||||
constraints = ">= 6.0.0, ~> 6.0, >= 6.59.0"
|
|
||||||
hashes = [
|
|
||||||
"h1:/G38+XhC1mBVkmeWdtk/wk7lX2BxviJ2XZ70dpoaKKQ=",
|
|
||||||
"h1:7BzHdGCBG5usqOIhfBq89dkdUopnSo+qe9qRCKDSRHc=",
|
|
||||||
"h1:8AgY9Hc5/R5j97WgCcDSlbuKk0pjk3vkp7oz4mtGVY8=",
|
|
||||||
"h1:DKdOy/0RfYLxpzAXBPWTO5Eusvqx5UoGxiq2J0E6DY4=",
|
|
||||||
"h1:KSwetpR4S2eUsKmHftt73Cbx72lPWYET4V+Ej05rnkI=",
|
|
||||||
"h1:MEi5Ecge1Uwx/DRGfdVDzV5Q/soRxKh6dBHxUjGdaDQ=",
|
|
||||||
"h1:VqjWicgPZW32+YnSe0Lo78qq8/24I8XNV+E9d/lBz/4=",
|
|
||||||
"h1:WBgbFHdg/3ekWoAH6UeKiwfk6iqLr1f7TX9R/mJUK8M=",
|
|
||||||
"h1:YisB3zMV5Kh6p5/eVuPAAPEmudD/UqGN4C/V3zRtAq4=",
|
|
||||||
"h1:bG5dXqR4mSlcebUG+anerOWYDyeaScZJeLSJk0cYBfE=",
|
|
||||||
"h1:iosW/imG2pc4La7qdeM/rK6ldMXhcU6YVW7tjqwNXtI=",
|
|
||||||
"h1:nKE1gnLZxIoqukQ1YI9EUdmrQIUeAN4PWb5ecN8U9K8=",
|
|
||||||
"h1:x0hJO5+On8FaKExr4p2cNJhWsNWFZq1EiDD6CfVwy2E=",
|
|
||||||
"h1:yPH75sRH+f3aJlJAloOL/BikeZV6/0GP8VQvnJoMRKM=",
|
|
||||||
"h1:zCWB5ZD98/ZC0a50HTGoC/fTAseh189xxCFEL5Mt7r4=",
|
|
||||||
"zh:06e09ced9480ae12578122f7a25758a15d8fe684da0f6a0a61b9bc2f4a4918ad",
|
|
||||||
"zh:2035805f0ed8bf81d493e7a52f22965b3d5d402687a95d1caa8c4b1b348c1264",
|
|
||||||
"zh:25fe72a3d6a330eab6c8957f9e6bdf297ffdce95fa059fef30b80da764bee6b2",
|
|
||||||
"zh:49df644d19e39b9947e84609260028687057191ddd941783c0211386ade53040",
|
|
||||||
"zh:4d8438a5d25f18eb376c8375c70f81afb79d0fc1e63ebb6df1d0e02287964dde",
|
|
||||||
"zh:5cd9717e819506132126a896e959cd4cf1bb213c033c37777c9d01a593937e2c",
|
|
||||||
"zh:6955caa4f435373ae870de31bdda85e51c60b68c51a4206df5a21b853bcefe21",
|
|
||||||
"zh:82a413500c35241745e097797610d2bff57c26e29f34ca711182fdde5c265d13",
|
|
||||||
"zh:831f78acce42a759a977769b0409387ec13ff64b4f46c24eb7e7662e0f352525",
|
|
||||||
"zh:88648a159119a0435bf86c6cd1f7482dc43dfa2eb742f9b29053da1ee9fdabd8",
|
|
||||||
"zh:9fc745d71a2e36dbdae0ee69be70675509e5a9dec1a3c5a9be6007e568d78c07",
|
|
||||||
"zh:bf6d11d6ed1655f61f70eb2906e5d1f7ff5e78b6539dcfb3116ed6f8960c9e20",
|
|
||||||
"zh:ca17a6ca363afe930ad3474966d39cb549b7f1e5efdca909972dd26f90eefc89",
|
|
||||||
"zh:d7e9cc87ada1314e6d8ecc5849385a8f8f45757bd2c145b8657f015c65e5078d",
|
|
||||||
"zh:eddb4d6d86700788d132ba2a83d306646ccb2a3a0cec0a0ab3e215307c61d8f2",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "registry.opentofu.org/hashicorp/cloudinit" {
|
|
||||||
version = "2.4.0"
|
|
||||||
constraints = ">= 2.0.0"
|
|
||||||
hashes = [
|
|
||||||
"h1:3xq4ifaDu5ZTQHP1x3iuq8rL56Nv8fAqy/A1Xa1ZzWs=",
|
|
||||||
"h1:6ON/hD5tJ2D3lYMyXR+YNPLib3Bfuo8D2UuOHSojy2g=",
|
|
||||||
"h1:73EXZqVyns+GCeLgB7rbsydAfT9jUOpN10QEjjy+29I=",
|
|
||||||
"h1:84gXpW/AIh12UlZdwGbS9nVubf+p7yF9PqHPtIgyGko=",
|
|
||||||
"h1:Jvn+nE7fuyWfsXcJWCP1OhG1ohzuYs776U4UdjPf59c=",
|
|
||||||
"h1:KWhrk/VVu7R1o3DGkCeYp4OyY4spLNenBFcyW8jsLP0=",
|
|
||||||
"h1:MtSqKX2tsgvUOc0Q6fcJhsAXjpsstVTTOmEyMmA2J/M=",
|
|
||||||
"h1:NT0imrJFQ3bQe9DhET8eZ5HbwpEROF9CmEuyObyoEL8=",
|
|
||||||
"h1:PMRgZR+2rkcyYT4GTZ6aQN0YWGRGXX/mk+cq6m6pZac=",
|
|
||||||
"h1:RcZoNOFazLKuDEE70UkTVvlmhRXmE+Jim6M3r24rX+c=",
|
|
||||||
"h1:aRbm11yOd/bSugyXeOu4nzHV0ZApgYCwsfanOOMuCAg=",
|
|
||||||
"h1:dQcgIzlszlcwG1nKivVa0HHJQdfkFB1V7G3pNZsPSdw=",
|
|
||||||
"h1:haEeT/pFouFPSipulbd/jF0Hz4i/VN+xH0xMgyT14l4=",
|
|
||||||
"h1:uduBrjpO7yZ0bQkpmATqbmW3/qGH/rLi1UCM1tBHLww=",
|
|
||||||
"h1:z0PvgDOQboJIkqMmydTIOId3rqIGOCX1rENM5LDu11w=",
|
|
||||||
"zh:1100d08add4583fa0c72ae61a4d90fe7e0e4c912800e8ce40736d5491cca6b94",
|
|
||||||
"zh:25671e5909082cdf564476a309ab958f4948a50819a6faea7f4768d77d4b2866",
|
|
||||||
"zh:27036ecde32c5f2fae4c965938554fc9085e4c04dc9a74f5aae6a91c06f3d738",
|
|
||||||
"zh:2eabfb9a357e21d906e6a4a3cba1299a4494694e90816c5d1c94253161244e4d",
|
|
||||||
"zh:46aff469c48be99db25a17b8aceff980d3253b5c43fe90e11df710d01ed15ef5",
|
|
||||||
"zh:58381b46c91f4dfea37c701896f1b7144373e9bd6fd1a2aaec561f9b69573156",
|
|
||||||
"zh:5e93d4b1600c3af7929eefccf092bf9a4f2a94bd2f29f5a2cebc98eede3fd88c",
|
|
||||||
"zh:67ad0360d17d5a2ade305bd3083caddd3c63b6d692434d249d3b71c6f7fcd0e4",
|
|
||||||
"zh:6e51f558aeb4271923f8822d900f2c8fe56f155f56f022366c22ec80c633e05e",
|
|
||||||
"zh:8be11e71a35964eecbcc36ad47a82dde0f51425567658cb21c9c6d5a9fce0494",
|
|
||||||
"zh:90de8354c3fffb6d0b9b663312652c98011022d0ccfac52900ce148bb263d200",
|
|
||||||
"zh:94c409a472d76e8a90f634dd804ff8399301bca103a7456f74d007d1fb22913f",
|
|
||||||
"zh:9e24975b2c085e1aee74b83799f9f0a3644ffcd9ae0c7d2840929d82153be167",
|
|
||||||
"zh:d24742682a35b618b4012c52a6201fda845dd706fe46e6c08a4611ea6abd6fc4",
|
|
||||||
"zh:ed6b04017882f68e0342b951e5c008e4852c7ed32c7d6fb81ced0437fa0a9742",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "registry.opentofu.org/hashicorp/null" {
|
|
||||||
version = "3.3.2"
|
|
||||||
constraints = ">= 3.0.0"
|
|
||||||
hashes = [
|
|
||||||
"h1:1T+00cjQNmRAHAz9xjEBFpf5wRRb0IBuXS/W8ke5BWs=",
|
|
||||||
"h1:46gmIYe+klib6TlHKSqEkMLjvnzVWiCB2NYA2zR8MX8=",
|
|
||||||
"h1:7WQ3wjfaeqnXxq+a8cYiYeWUnMTgY1JcuX+z7sZd72s=",
|
|
||||||
"h1:MVM+vkVtW/YyKfn111pyho0y87I4TekaNMbBLkn0/C8=",
|
|
||||||
"h1:QBcIbI2Dp4v6Iui37pn4qmw8YeiFLbSWcJuzZVl/65Y=",
|
|
||||||
"h1:SsVKTUR+vgLaC1YnoDa2fnYpzREcgNgWRcu5x+vwjHA=",
|
|
||||||
"h1:WUaeuTNn9w6UXZ9cMq4+qZy4ZAr71B9NcUDEXjqfdKs=",
|
|
||||||
"h1:WtEaA7alasNwEQ4L3+KyQtbkSOPsexzJ4LUZ7PKaycI=",
|
|
||||||
"h1:WxS7rjYIZ1WQc4GkICch8XrbxoSY8TjUfLbPDo6oEcQ=",
|
|
||||||
"h1:Ysvc/FPvcwk+iMg7IcLkqZhT/KhtZTYji+UBqMlcTs4=",
|
|
||||||
"h1:ZLjbXnfVcRvS/DAN3BcNebOsnOcs3Nx6mJpFCj4dZ2c=",
|
|
||||||
"h1:fAmvQjIGyqdGMc+v/fUEINCyuU4iaKSzsV8PWsOnmAc=",
|
|
||||||
"h1:jwkbEtf3S7W+Bl4soynNkUHFfK/4I/H74urHY758XVw=",
|
|
||||||
"h1:qY1sKzlxNTp/dqZR23bM4egmVMRlaQudLlBYraMt1pw=",
|
|
||||||
"h1:t8H1KNwJQwKE/GqpHeRxOWgMk0Yv35qbBTBzqB/rhr0=",
|
|
||||||
"zh:09e94b0b7dfc0c6450c247517b5410546039c758e513d89b588af6df70c3d57d",
|
|
||||||
"zh:0b72497b6fd79a2b04785b64890a565a8cc7b06ded95da05e6dab2f3b8a02d58",
|
|
||||||
"zh:1c0ee6f81f7bcdec8d568a145a450eb57a6f1cfe5e48943375d1af22ed54151e",
|
|
||||||
"zh:1c6899b475f035d352af1e7f33dc30beab8b8e3784f8cb55a2cc4a11997fbd66",
|
|
||||||
"zh:43e57a2a56e9874604501bdebe431bb573fb77d2c5f4d7598ab30727dc0e90ea",
|
|
||||||
"zh:49cf2f36298a5ac3ac8d80ceb87466e6a99d2c021005bcd9e3a79f2314fd0a13",
|
|
||||||
"zh:665be40d2c7f3d768b8f39a041371526d4b7b396b4c11e162a1886212da176c9",
|
|
||||||
"zh:6bb1583d88ddb38b1c6b4624e25ad414ddd8bf65b0dd9c074580847311f83924",
|
|
||||||
"zh:71d64453bdc795667e9841d7c90e3fef6ff157e0598d51dac4bb1e4583b85407",
|
|
||||||
"zh:73ac02bc3b680e1ea75aab24ec2a359c8f0a021f73d43b2feae0a899e75a93ad",
|
|
||||||
"zh:b2b777ee07b910e7345df85321fab6c9a25c33ecb56129758dda8fadaba09fe4",
|
|
||||||
"zh:bb984d52880749a49e509e3b243804869e1af40ee2d34322a30f5f340f8d8dbd",
|
|
||||||
"zh:e0724bc083527343b4a4099fd4f95511e49a0e113416cdba58a64446742b68b1",
|
|
||||||
"zh:e391c14e367cd64d986ddc8d81f2db76d49600ce0521720618ff1ecc0decde7f",
|
|
||||||
"zh:e95c1af8e8e9967d678cfa7c77ca229c863a68f7c9a85318bf08f26628afe338",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "registry.opentofu.org/hashicorp/time" {
|
|
||||||
version = "0.14.1"
|
|
||||||
constraints = ">= 0.9.0"
|
|
||||||
hashes = [
|
|
||||||
"h1:+anTsiSl8j75hcu7gKWF2ZlKS/qZDk4Ll0Oq2mVoArU=",
|
|
||||||
"h1:BZtorvSdYDM6pFE8nz7yUVVR2Pe1i0MxZFyBnaKlguY=",
|
|
||||||
"h1:Do/MjWRafefFS6RumnUVbIDH9MyMLuwQXs0kEc4Evrs=",
|
|
||||||
"h1:RoJeKHJjlqMikWdptWEWOBfBv4YxXf8KtZcg6oS8OWE=",
|
|
||||||
"h1:Ssb164oIHIO9VWGljof/xqbxbnPmrT5jyJ+WegAj2+k=",
|
|
||||||
"h1:WGgegEyoMb7nzXr09OvAxaSJls6honSdJiXfNaPTSkw=",
|
|
||||||
"h1:jfH6FAhiYd3hKB29s8cxk9PUKGdEN0fPB3zQ0IE5pdQ=",
|
|
||||||
"h1:lVTdvsa16YmLYJOmGq6ryESpdeWhLyo7Y4MAPPh/gIc=",
|
|
||||||
"h1:nD1nfDyZxI1PgTNT5Zs9G+R9PIiS25xQw9y7tuOD2G0=",
|
|
||||||
"h1:nPu3DGOZfwDier2k8DjNq2ZK3GQDzHYLghIUjb4/KJc=",
|
|
||||||
"h1:o7oRgk39V8okQzrI9DX4AKMTZrIqo6oBj1zQ3tMZJiI=",
|
|
||||||
"h1:oJSgnSkg9lXMISdrA+pXkV8FhgLPk+mAzbFE209jar0=",
|
|
||||||
"h1:oT/ffb2Uy19qRCLu9QSbuAguWwJI9rwW1j6RPjluqRY=",
|
|
||||||
"h1:vWWQpPBXFR9AVZM1o22/pHjNQjRa/IWSVL1mZgMqgLk=",
|
|
||||||
"h1:yTRqKp4efJyAq7bPZjFGcnR1KUDUl2/dBMzILxn5Z+c=",
|
|
||||||
"zh:032ea0f53759a5ade64286ad8a403956bb390860429de3647c6652701c2fff8b",
|
|
||||||
"zh:204581f170c50a579357b1a067f407b890adfc0404952cb922fefe2aba7655a8",
|
|
||||||
"zh:331119864191614a81ce9e8d1ec3ea6fe13da0bea6130f9e1dfd94e3b16ddaaa",
|
|
||||||
"zh:373a8b1b227a92b5e5fee611fef03df7aea82f51c3b1a62b33ac29a1b0ee927f",
|
|
||||||
"zh:46796e7616d511fa264a367ee447f6d0de64e8145f315a12271f4ec5c183f044",
|
|
||||||
"zh:5e3199e6dcc9bb99868764339c35aa169903baa4e150490da2980b2620cdfdbc",
|
|
||||||
"zh:5f95ee94a83a13e6b1e26d3d9f0297ed1036387d7a8adbab90b4ef990b6a1331",
|
|
||||||
"zh:68e1f75602423236d947d9464d62c4cc0a6312ff2206b9306067faf03bed7011",
|
|
||||||
"zh:72ee59f4f859abe6288b59eaacf9a838b8490a132c1c17f393dd8355401704df",
|
|
||||||
"zh:993775eeb0f0b4c898e305dead3cd6cd732b48c1c0fab20c2e4431ef6b678626",
|
|
||||||
"zh:a7b38fea85a1edea7f9afa33e9585970219a788d0300ca095e80b19eec39b291",
|
|
||||||
"zh:b7a8ef0dbee5b76295b1a11d88452ad2798e8d2598925af193884ce405093497",
|
|
||||||
"zh:d3ff8770f4b7cc4dccd4b1b7b40c933b468b7e07a05c704b7ea4c1673c74bf9c",
|
|
||||||
"zh:e59043c6f98aa986956a79c47f1d6bc150d409bbd9c88c9c42d41713bc539f04",
|
|
||||||
"zh:e6c2ae3bdccf6a2e3f106b61895cf7f125684204c1406b29f74fa408671f81cc",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "registry.opentofu.org/hashicorp/tls" {
|
|
||||||
version = "4.4.1"
|
|
||||||
constraints = ">= 4.0.0"
|
|
||||||
hashes = [
|
|
||||||
"h1:2O/yQw456tbotLB9hQANgbHXbIrEtDLSEfgA0WmJkJY=",
|
|
||||||
"h1:57BA7JoEeTaNsrQsUXJ/dBBxldjiemEMucc9JuSye0w=",
|
|
||||||
"h1:5XqhGbxVrOSEH/sJ2+ZIHg3KvuFR3at07VUioTgkXAY=",
|
|
||||||
"h1:Asqo/HjFVO0JSV0VSLwwvtIDhlgBmyHrC8QcO4gk1QQ=",
|
|
||||||
"h1:CvzyAg0y2du7vBApIK0N2lPgBaH/zfCg6zm7AwFHpFo=",
|
|
||||||
"h1:D6aS7Hmd03IO6vEu3MrPjUKShJOXbRfNYKah67Uy1ek=",
|
|
||||||
"h1:EaIwoX0Wc/QXIQdJpIgZKHeSXZ3xjov4l6TvgQseMe8=",
|
|
||||||
"h1:Erg6A77uaUPX+2xeS5ZvkZf7kzXUqf7viDsWTd4wXME=",
|
|
||||||
"h1:Ku3mHvQI52bhQlKmN2BZI5j7C2VA0+wIHAd/eSufBqo=",
|
|
||||||
"h1:OFYWbbN/qi0CMVTkdbzSagb36iEMHJmiCF7hp3hbGT8=",
|
|
||||||
"h1:Wb2qBa+YycnQyFzcuSB4aM6stW1pw47MJ6AjG1D6JKs=",
|
|
||||||
"h1:baujCERitgMHQWiIU3zCe51pcIBIeod5I50eweY2hYc=",
|
|
||||||
"h1:sCAoCoH4c+aLBniVYM4b7Yu1ogWl+pjJOFaQVsR4kBw=",
|
|
||||||
"h1:sVCVp+owtzpdcYR2b993egt/nwgmBjOLMosfPpx+Oo8=",
|
|
||||||
"h1:v+wMAi0MNFo5N2EtA0GXH1nLns6TAMp7y0lO1kqKWTc=",
|
|
||||||
"zh:10daf7d1904ca89d4e54ca39b9a7710a66f2b961cc153f7859c9d5cba6a9cdad",
|
|
||||||
"zh:12883f2560676c26431bfe412d4d23b77907c7a994b32c1f58b929473458acaf",
|
|
||||||
"zh:141fa1c208a6da9bac474d2f2019cbaa24e1dafa8d834f246b02276e48091657",
|
|
||||||
"zh:35f443ce8336ec9a17e5dc7c849b9300fb03dc66ca4c94dfd58a3ee5e3303afa",
|
|
||||||
"zh:365a18dbb8b64be4c1a898649eb3777cabb50b7d7a1033aaa11ff93ce98f753f",
|
|
||||||
"zh:3fcc9caff4fd3b7b4790ad0a2050379d953de46298c61455535bfbeffe93e53f",
|
|
||||||
"zh:44013721c5621ef7cea59a40e7dd5f65e52b4d21fde5e3c50781dbe23d58997d",
|
|
||||||
"zh:4f67936376c8588c6ecb975b5c6439596cfd337856418611fa5fc11d5ce302d7",
|
|
||||||
"zh:4fae67995e02507602139668609cb1272bfc46ca2555af1ae4abea3cdd86c4a1",
|
|
||||||
"zh:555b4e873913835c447d2980ced87d88a9d9d000a63bb66703cbf08b230186ab",
|
|
||||||
"zh:a4bd01940c70aa15e443d0fe726b293be75d65832b2881b0888df64a04f4bde9",
|
|
||||||
"zh:bdf6ad614b3fe8486c058053a33dfd69ebcc17ec8a80bd7ccabdf3ca9ccc0110",
|
|
||||||
"zh:cc45d42c5b38c520f3c7e1fef7fee211d697cb8ceae2fa95d4a9d34b80cb950d",
|
|
||||||
"zh:e2b9f6cf7b500a9c2030787d1853409f3277cea5d2f1ec954b966d79b2cc6377",
|
|
||||||
"zh:e7e769c0fb629e6f84b146212178350dbd277b472fdbc0808d70e16ae92302e6",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Submodule Semaine_14/terraform_demo/.terraform/modules/eks deleted from 48a429f63c
Submodule Semaine_14/terraform_demo/.terraform/modules/eks.kms deleted from 28846a0d9b
@@ -1 +0,0 @@
|
|||||||
{"Modules":[{"Key":"","Source":"","Dir":"."},{"Key":"eks","Source":"registry.opentofu.org/terraform-aws-modules/eks/aws","Version":"21.25.0","Dir":".terraform/modules/eks"},{"Key":"eks.eks_managed_node_group","Source":"./modules/eks-managed-node-group","Dir":".terraform/modules/eks/modules/eks-managed-node-group"},{"Key":"eks.eks_managed_node_group.user_data","Source":"../_user_data","Dir":".terraform/modules/eks/modules/_user_data"},{"Key":"eks.fargate_profile","Source":"./modules/fargate-profile","Dir":".terraform/modules/eks/modules/fargate-profile"},{"Key":"eks.kms","Source":"registry.opentofu.org/terraform-aws-modules/kms/aws","Version":"4.0.0","Dir":".terraform/modules/eks.kms"},{"Key":"eks.self_managed_node_group","Source":"./modules/self-managed-node-group","Dir":".terraform/modules/eks/modules/self-managed-node-group"},{"Key":"eks.self_managed_node_group.user_data","Source":"../_user_data","Dir":".terraform/modules/eks/modules/_user_data"}]}
|
|
||||||
-3278
File diff suppressed because it is too large
Load Diff
-375
@@ -1,375 +0,0 @@
|
|||||||
Copyright IBM Corp. 2014, 2026
|
|
||||||
|
|
||||||
Mozilla Public License Version 2.0
|
|
||||||
==================================
|
|
||||||
|
|
||||||
1. Definitions
|
|
||||||
--------------
|
|
||||||
|
|
||||||
1.1. "Contributor"
|
|
||||||
means each individual or legal entity that creates, contributes to
|
|
||||||
the creation of, or owns Covered Software.
|
|
||||||
|
|
||||||
1.2. "Contributor Version"
|
|
||||||
means the combination of the Contributions of others (if any) used
|
|
||||||
by a Contributor and that particular Contributor's Contribution.
|
|
||||||
|
|
||||||
1.3. "Contribution"
|
|
||||||
means Covered Software of a particular Contributor.
|
|
||||||
|
|
||||||
1.4. "Covered Software"
|
|
||||||
means Source Code Form to which the initial Contributor has attached
|
|
||||||
the notice in Exhibit A, the Executable Form of such Source Code
|
|
||||||
Form, and Modifications of such Source Code Form, in each case
|
|
||||||
including portions thereof.
|
|
||||||
|
|
||||||
1.5. "Incompatible With Secondary Licenses"
|
|
||||||
means
|
|
||||||
|
|
||||||
(a) that the initial Contributor has attached the notice described
|
|
||||||
in Exhibit B to the Covered Software; or
|
|
||||||
|
|
||||||
(b) that the Covered Software was made available under the terms of
|
|
||||||
version 1.1 or earlier of the License, but not also under the
|
|
||||||
terms of a Secondary License.
|
|
||||||
|
|
||||||
1.6. "Executable Form"
|
|
||||||
means any form of the work other than Source Code Form.
|
|
||||||
|
|
||||||
1.7. "Larger Work"
|
|
||||||
means a work that combines Covered Software with other material, in
|
|
||||||
a separate file or files, that is not Covered Software.
|
|
||||||
|
|
||||||
1.8. "License"
|
|
||||||
means this document.
|
|
||||||
|
|
||||||
1.9. "Licensable"
|
|
||||||
means having the right to grant, to the maximum extent possible,
|
|
||||||
whether at the time of the initial grant or subsequently, any and
|
|
||||||
all of the rights conveyed by this License.
|
|
||||||
|
|
||||||
1.10. "Modifications"
|
|
||||||
means any of the following:
|
|
||||||
|
|
||||||
(a) any file in Source Code Form that results from an addition to,
|
|
||||||
deletion from, or modification of the contents of Covered
|
|
||||||
Software; or
|
|
||||||
|
|
||||||
(b) any new file in Source Code Form that contains any Covered
|
|
||||||
Software.
|
|
||||||
|
|
||||||
1.11. "Patent Claims" of a Contributor
|
|
||||||
means any patent claim(s), including without limitation, method,
|
|
||||||
process, and apparatus claims, in any patent Licensable by such
|
|
||||||
Contributor that would be infringed, but for the grant of the
|
|
||||||
License, by the making, using, selling, offering for sale, having
|
|
||||||
made, import, or transfer of either its Contributions or its
|
|
||||||
Contributor Version.
|
|
||||||
|
|
||||||
1.12. "Secondary License"
|
|
||||||
means either the GNU General Public License, Version 2.0, the GNU
|
|
||||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
||||||
Public License, Version 3.0, or any later versions of those
|
|
||||||
licenses.
|
|
||||||
|
|
||||||
1.13. "Source Code Form"
|
|
||||||
means the form of the work preferred for making modifications.
|
|
||||||
|
|
||||||
1.14. "You" (or "Your")
|
|
||||||
means an individual or a legal entity exercising rights under this
|
|
||||||
License. For legal entities, "You" includes any entity that
|
|
||||||
controls, is controlled by, or is under common control with You. For
|
|
||||||
purposes of this definition, "control" means (a) the power, direct
|
|
||||||
or indirect, to cause the direction or management of such entity,
|
|
||||||
whether by contract or otherwise, or (b) ownership of more than
|
|
||||||
fifty percent (50%) of the outstanding shares or beneficial
|
|
||||||
ownership of such entity.
|
|
||||||
|
|
||||||
2. License Grants and Conditions
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
2.1. Grants
|
|
||||||
|
|
||||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
||||||
non-exclusive license:
|
|
||||||
|
|
||||||
(a) under intellectual property rights (other than patent or trademark)
|
|
||||||
Licensable by such Contributor to use, reproduce, make available,
|
|
||||||
modify, display, perform, distribute, and otherwise exploit its
|
|
||||||
Contributions, either on an unmodified basis, with Modifications, or
|
|
||||||
as part of a Larger Work; and
|
|
||||||
|
|
||||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
||||||
for sale, have made, import, and otherwise transfer either its
|
|
||||||
Contributions or its Contributor Version.
|
|
||||||
|
|
||||||
2.2. Effective Date
|
|
||||||
|
|
||||||
The licenses granted in Section 2.1 with respect to any Contribution
|
|
||||||
become effective for each Contribution on the date the Contributor first
|
|
||||||
distributes such Contribution.
|
|
||||||
|
|
||||||
2.3. Limitations on Grant Scope
|
|
||||||
|
|
||||||
The licenses granted in this Section 2 are the only rights granted under
|
|
||||||
this License. No additional rights or licenses will be implied from the
|
|
||||||
distribution or licensing of Covered Software under this License.
|
|
||||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
|
||||||
Contributor:
|
|
||||||
|
|
||||||
(a) for any code that a Contributor has removed from Covered Software;
|
|
||||||
or
|
|
||||||
|
|
||||||
(b) for infringements caused by: (i) Your and any other third party's
|
|
||||||
modifications of Covered Software, or (ii) the combination of its
|
|
||||||
Contributions with other software (except as part of its Contributor
|
|
||||||
Version); or
|
|
||||||
|
|
||||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
|
||||||
its Contributions.
|
|
||||||
|
|
||||||
This License does not grant any rights in the trademarks, service marks,
|
|
||||||
or logos of any Contributor (except as may be necessary to comply with
|
|
||||||
the notice requirements in Section 3.4).
|
|
||||||
|
|
||||||
2.4. Subsequent Licenses
|
|
||||||
|
|
||||||
No Contributor makes additional grants as a result of Your choice to
|
|
||||||
distribute the Covered Software under a subsequent version of this
|
|
||||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
|
||||||
permitted under the terms of Section 3.3).
|
|
||||||
|
|
||||||
2.5. Representation
|
|
||||||
|
|
||||||
Each Contributor represents that the Contributor believes its
|
|
||||||
Contributions are its original creation(s) or it has sufficient rights
|
|
||||||
to grant the rights to its Contributions conveyed by this License.
|
|
||||||
|
|
||||||
2.6. Fair Use
|
|
||||||
|
|
||||||
This License is not intended to limit any rights You have under
|
|
||||||
applicable copyright doctrines of fair use, fair dealing, or other
|
|
||||||
equivalents.
|
|
||||||
|
|
||||||
2.7. Conditions
|
|
||||||
|
|
||||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
||||||
in Section 2.1.
|
|
||||||
|
|
||||||
3. Responsibilities
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
3.1. Distribution of Source Form
|
|
||||||
|
|
||||||
All distribution of Covered Software in Source Code Form, including any
|
|
||||||
Modifications that You create or to which You contribute, must be under
|
|
||||||
the terms of this License. You must inform recipients that the Source
|
|
||||||
Code Form of the Covered Software is governed by the terms of this
|
|
||||||
License, and how they can obtain a copy of this License. You may not
|
|
||||||
attempt to alter or restrict the recipients' rights in the Source Code
|
|
||||||
Form.
|
|
||||||
|
|
||||||
3.2. Distribution of Executable Form
|
|
||||||
|
|
||||||
If You distribute Covered Software in Executable Form then:
|
|
||||||
|
|
||||||
(a) such Covered Software must also be made available in Source Code
|
|
||||||
Form, as described in Section 3.1, and You must inform recipients of
|
|
||||||
the Executable Form how they can obtain a copy of such Source Code
|
|
||||||
Form by reasonable means in a timely manner, at a charge no more
|
|
||||||
than the cost of distribution to the recipient; and
|
|
||||||
|
|
||||||
(b) You may distribute such Executable Form under the terms of this
|
|
||||||
License, or sublicense it under different terms, provided that the
|
|
||||||
license for the Executable Form does not attempt to limit or alter
|
|
||||||
the recipients' rights in the Source Code Form under this License.
|
|
||||||
|
|
||||||
3.3. Distribution of a Larger Work
|
|
||||||
|
|
||||||
You may create and distribute a Larger Work under terms of Your choice,
|
|
||||||
provided that You also comply with the requirements of this License for
|
|
||||||
the Covered Software. If the Larger Work is a combination of Covered
|
|
||||||
Software with a work governed by one or more Secondary Licenses, and the
|
|
||||||
Covered Software is not Incompatible With Secondary Licenses, this
|
|
||||||
License permits You to additionally distribute such Covered Software
|
|
||||||
under the terms of such Secondary License(s), so that the recipient of
|
|
||||||
the Larger Work may, at their option, further distribute the Covered
|
|
||||||
Software under the terms of either this License or such Secondary
|
|
||||||
License(s).
|
|
||||||
|
|
||||||
3.4. Notices
|
|
||||||
|
|
||||||
You may not remove or alter the substance of any license notices
|
|
||||||
(including copyright notices, patent notices, disclaimers of warranty,
|
|
||||||
or limitations of liability) contained within the Source Code Form of
|
|
||||||
the Covered Software, except that You may alter any license notices to
|
|
||||||
the extent required to remedy known factual inaccuracies.
|
|
||||||
|
|
||||||
3.5. Application of Additional Terms
|
|
||||||
|
|
||||||
You may choose to offer, and to charge a fee for, warranty, support,
|
|
||||||
indemnity or liability obligations to one or more recipients of Covered
|
|
||||||
Software. However, You may do so only on Your own behalf, and not on
|
|
||||||
behalf of any Contributor. You must make it absolutely clear that any
|
|
||||||
such warranty, support, indemnity, or liability obligation is offered by
|
|
||||||
You alone, and You hereby agree to indemnify every Contributor for any
|
|
||||||
liability incurred by such Contributor as a result of warranty, support,
|
|
||||||
indemnity or liability terms You offer. You may include additional
|
|
||||||
disclaimers of warranty and limitations of liability specific to any
|
|
||||||
jurisdiction.
|
|
||||||
|
|
||||||
4. Inability to Comply Due to Statute or Regulation
|
|
||||||
---------------------------------------------------
|
|
||||||
|
|
||||||
If it is impossible for You to comply with any of the terms of this
|
|
||||||
License with respect to some or all of the Covered Software due to
|
|
||||||
statute, judicial order, or regulation then You must: (a) comply with
|
|
||||||
the terms of this License to the maximum extent possible; and (b)
|
|
||||||
describe the limitations and the code they affect. Such description must
|
|
||||||
be placed in a text file included with all distributions of the Covered
|
|
||||||
Software under this License. Except to the extent prohibited by statute
|
|
||||||
or regulation, such description must be sufficiently detailed for a
|
|
||||||
recipient of ordinary skill to be able to understand it.
|
|
||||||
|
|
||||||
5. Termination
|
|
||||||
--------------
|
|
||||||
|
|
||||||
5.1. The rights granted under this License will terminate automatically
|
|
||||||
if You fail to comply with any of its terms. However, if You become
|
|
||||||
compliant, then the rights granted under this License from a particular
|
|
||||||
Contributor are reinstated (a) provisionally, unless and until such
|
|
||||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
||||||
ongoing basis, if such Contributor fails to notify You of the
|
|
||||||
non-compliance by some reasonable means prior to 60 days after You have
|
|
||||||
come back into compliance. Moreover, Your grants from a particular
|
|
||||||
Contributor are reinstated on an ongoing basis if such Contributor
|
|
||||||
notifies You of the non-compliance by some reasonable means, this is the
|
|
||||||
first time You have received notice of non-compliance with this License
|
|
||||||
from such Contributor, and You become compliant prior to 30 days after
|
|
||||||
Your receipt of the notice.
|
|
||||||
|
|
||||||
5.2. If You initiate litigation against any entity by asserting a patent
|
|
||||||
infringement claim (excluding declaratory judgment actions,
|
|
||||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
||||||
directly or indirectly infringes any patent, then the rights granted to
|
|
||||||
You by any and all Contributors for the Covered Software under Section
|
|
||||||
2.1 of this License shall terminate.
|
|
||||||
|
|
||||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
||||||
end user license agreements (excluding distributors and resellers) which
|
|
||||||
have been validly granted by You or Your distributors under this License
|
|
||||||
prior to termination shall survive termination.
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 6. Disclaimer of Warranty *
|
|
||||||
* ------------------------- *
|
|
||||||
* *
|
|
||||||
* Covered Software is provided under this License on an "as is" *
|
|
||||||
* basis, without warranty of any kind, either expressed, implied, or *
|
|
||||||
* statutory, including, without limitation, warranties that the *
|
|
||||||
* Covered Software is free of defects, merchantable, fit for a *
|
|
||||||
* particular purpose or non-infringing. The entire risk as to the *
|
|
||||||
* quality and performance of the Covered Software is with You. *
|
|
||||||
* Should any Covered Software prove defective in any respect, You *
|
|
||||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
|
||||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
|
||||||
* essential part of this License. No use of any Covered Software is *
|
|
||||||
* authorized under this License except under this disclaimer. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 7. Limitation of Liability *
|
|
||||||
* -------------------------- *
|
|
||||||
* *
|
|
||||||
* Under no circumstances and under no legal theory, whether tort *
|
|
||||||
* (including negligence), contract, or otherwise, shall any *
|
|
||||||
* Contributor, or anyone who distributes Covered Software as *
|
|
||||||
* permitted above, be liable to You for any direct, indirect, *
|
|
||||||
* special, incidental, or consequential damages of any character *
|
|
||||||
* including, without limitation, damages for lost profits, loss of *
|
|
||||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
|
||||||
* and all other commercial damages or losses, even if such party *
|
|
||||||
* shall have been informed of the possibility of such damages. This *
|
|
||||||
* limitation of liability shall not apply to liability for death or *
|
|
||||||
* personal injury resulting from such party's negligence to the *
|
|
||||||
* extent applicable law prohibits such limitation. Some *
|
|
||||||
* jurisdictions do not allow the exclusion or limitation of *
|
|
||||||
* incidental or consequential damages, so this exclusion and *
|
|
||||||
* limitation may not apply to You. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
8. Litigation
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Any litigation relating to this License may be brought only in the
|
|
||||||
courts of a jurisdiction where the defendant maintains its principal
|
|
||||||
place of business and such litigation shall be governed by laws of that
|
|
||||||
jurisdiction, without reference to its conflict-of-law provisions.
|
|
||||||
Nothing in this Section shall prevent a party's ability to bring
|
|
||||||
cross-claims or counter-claims.
|
|
||||||
|
|
||||||
9. Miscellaneous
|
|
||||||
----------------
|
|
||||||
|
|
||||||
This License represents the complete agreement concerning the subject
|
|
||||||
matter hereof. If any provision of this License is held to be
|
|
||||||
unenforceable, such provision shall be reformed only to the extent
|
|
||||||
necessary to make it enforceable. Any law or regulation which provides
|
|
||||||
that the language of a contract shall be construed against the drafter
|
|
||||||
shall not be used to construe this License against a Contributor.
|
|
||||||
|
|
||||||
10. Versions of the License
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
10.1. New Versions
|
|
||||||
|
|
||||||
Mozilla Foundation is the license steward. Except as provided in Section
|
|
||||||
10.3, no one other than the license steward has the right to modify or
|
|
||||||
publish new versions of this License. Each version will be given a
|
|
||||||
distinguishing version number.
|
|
||||||
|
|
||||||
10.2. Effect of New Versions
|
|
||||||
|
|
||||||
You may distribute the Covered Software under the terms of the version
|
|
||||||
of the License under which You originally received the Covered Software,
|
|
||||||
or under the terms of any subsequent version published by the license
|
|
||||||
steward.
|
|
||||||
|
|
||||||
10.3. Modified Versions
|
|
||||||
|
|
||||||
If you create software not governed by this License, and you want to
|
|
||||||
create a new license for such software, you may create and use a
|
|
||||||
modified version of this License if you rename the license and remove
|
|
||||||
any references to the name of the license steward (except to note that
|
|
||||||
such modified license differs from this License).
|
|
||||||
|
|
||||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
|
||||||
Licenses
|
|
||||||
|
|
||||||
If You choose to distribute Source Code Form that is Incompatible With
|
|
||||||
Secondary Licenses under the terms of this version of the License, the
|
|
||||||
notice described in Exhibit B of this License must be attached.
|
|
||||||
|
|
||||||
Exhibit A - Source Code Form License Notice
|
|
||||||
-------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
If it is not possible or desirable to put the notice in a particular
|
|
||||||
file, then You may include the notice in a location (such as a LICENSE
|
|
||||||
file in a relevant directory) where a recipient would be likely to look
|
|
||||||
for such a notice.
|
|
||||||
|
|
||||||
You may add additional accurate notices of copyright ownership.
|
|
||||||
|
|
||||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
||||||
---------------------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
||||||
defined by the Mozilla Public License, v. 2.0.
|
|
||||||
-28
@@ -1,28 +0,0 @@
|
|||||||
<!-- Copyright IBM Corp. 2014, 2026 -->
|
|
||||||
<!-- SPDX-License-Identifier: MPL-2.0 -->
|
|
||||||
|
|
||||||
<!-- markdownlint-disable first-line-h1 no-inline-html -->
|
|
||||||
<a href="https://terraform.io">
|
|
||||||
<picture>
|
|
||||||
<source media="(prefers-color-scheme: dark)" srcset=".github/terraform_logo_dark.svg">
|
|
||||||
<source media="(prefers-color-scheme: light)" srcset=".github/terraform_logo_light.svg">
|
|
||||||
<img src=".github/terraform_logo_light.svg" alt="Terraform logo" title="Terraform" align="right" height="50">
|
|
||||||
</picture>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
# Terraform AWS Provider
|
|
||||||
|
|
||||||
[![Forums][discuss-badge]][discuss]
|
|
||||||
|
|
||||||
[discuss-badge]: https://img.shields.io/badge/discuss-terraform--aws-623CE4.svg?style=flat
|
|
||||||
[discuss]: https://discuss.hashicorp.com/c/terraform-providers/tf-aws/
|
|
||||||
|
|
||||||
The [AWS Provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) enables [Terraform](https://terraform.io) to manage [AWS](https://aws.amazon.com) resources.
|
|
||||||
|
|
||||||
- [Contributing guide](https://hashicorp.github.io/terraform-provider-aws/)
|
|
||||||
- [Quarterly development roadmap](ROADMAP.md)
|
|
||||||
- [FAQ](https://hashicorp.github.io/terraform-provider-aws/faq/)
|
|
||||||
- [Tutorials](https://learn.hashicorp.com/collections/terraform/aws-get-started)
|
|
||||||
- [discuss.hashicorp.com](https://discuss.hashicorp.com/c/terraform-providers/tf-aws/)
|
|
||||||
|
|
||||||
_**Please note:** We take Terraform's security and our users' trust very seriously. If you believe you have found a security issue in the Terraform AWS Provider, please responsibly disclose it by contacting us at security@hashicorp.com._
|
|
||||||
BIN
Binary file not shown.
-87
@@ -1,87 +0,0 @@
|
|||||||
## 2.4.0 (May 12, 2026)
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* Added linux/s390x build target for IBM Z platform support ([#409](https://github.com/hashicorp/terraform-provider-cloudinit/issues/409))
|
|
||||||
|
|
||||||
## 2.3.7 (April 21, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Update dependencies ([#339](https://github.com/hashicorp/terraform-provider-cloudinit/issues/339))
|
|
||||||
|
|
||||||
## 2.3.7-alpha1 (March 04, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release is being used to test new build and release actions.
|
|
||||||
|
|
||||||
## 2.3.6 (February 27, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release contains no functionality changes. It is being used to fix release metadata in the registry from the previous alpha1 release. ([#318](https://github.com/hashicorp/terraform-provider-cloudinit/issues/318))
|
|
||||||
|
|
||||||
## 2.3.6-alpha1 (December 05, 2024)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release contains no functionality changes. It is released using new build and release Actions. ([#293](https://github.com/hashicorp/terraform-provider-cloudinit/issues/293))
|
|
||||||
|
|
||||||
## 2.3.5 (September 10, 2024)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#263](https://github.com/hashicorp/terraform-provider-cloudinit/issues/263))
|
|
||||||
|
|
||||||
## 2.3.4 (April 22, 2024)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release contains no functionality changes, only the inclusion of the LICENSE file in the release archives ([#228](https://github.com/hashicorp/terraform-provider-cloudinit/issues/228))
|
|
||||||
|
|
||||||
## 2.3.3 (November 29, 2023)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#186](https://github.com/hashicorp/terraform-provider-cloudinit/issues/186))
|
|
||||||
|
|
||||||
## 2.3.2 (February 23, 2023)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* cloudinit_config: Remove length validation to allow empty content string in part blocks ([#105](https://github.com/hashicorp/terraform-provider-cloudinit/issues/105))
|
|
||||||
|
|
||||||
## 2.3.1 (February 22, 2023)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* cloudinit_config: Fixed handling of unknown values in `part` blocks ([#103](https://github.com/hashicorp/terraform-provider-cloudinit/issues/103))
|
|
||||||
|
|
||||||
## 2.3.0 (February 22, 2023)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* provider: Rewritten to use the [`terraform-plugin-framework`](https://www.terraform.io/plugin/framework) ([#96](https://github.com/hashicorp/terraform-provider-cloudinit/issues/96))
|
|
||||||
|
|
||||||
## 2.2.0 (February 19, 2021)
|
|
||||||
|
|
||||||
Binary releases of this provider will now include the darwin-arm64 platform. This version contains no further changes.
|
|
||||||
|
|
||||||
## 2.1.0 (November 26, 2020)
|
|
||||||
|
|
||||||
NEW FEATURES:
|
|
||||||
|
|
||||||
* MIMEBOUNDARY can now be customised with `boundary` ([#7](https://github.com/hashicorp/terraform-provider-cloudinit/issues/7)).
|
|
||||||
|
|
||||||
## 2.0.0 (October 12, 2020)
|
|
||||||
|
|
||||||
Binary releases of this provider will now include the linux-arm64 platform.
|
|
||||||
|
|
||||||
BREAKING CHANGES:
|
|
||||||
|
|
||||||
* Upgrade to version 2 of the Terraform Plugin SDK, which drops support for Terraform 0.11. This provider will continue to work as expected for users of Terraform 0.11, which will not download the new version. ([#3](https://github.com/hashicorp/terraform-provider-cloudinit/issues/3))
|
|
||||||
|
|
||||||
## 1.0.0 (April 14, 2020)
|
|
||||||
|
|
||||||
Initial release. This provider exposes one resource, cloudinit_config, which is identical to the template_cloudinit_config resource in terraform-provider-template.
|
|
||||||
-375
@@ -1,375 +0,0 @@
|
|||||||
Copyright IBM Corp. 2019, 2026
|
|
||||||
|
|
||||||
Mozilla Public License Version 2.0
|
|
||||||
==================================
|
|
||||||
|
|
||||||
1. Definitions
|
|
||||||
--------------
|
|
||||||
|
|
||||||
1.1. "Contributor"
|
|
||||||
means each individual or legal entity that creates, contributes to
|
|
||||||
the creation of, or owns Covered Software.
|
|
||||||
|
|
||||||
1.2. "Contributor Version"
|
|
||||||
means the combination of the Contributions of others (if any) used
|
|
||||||
by a Contributor and that particular Contributor's Contribution.
|
|
||||||
|
|
||||||
1.3. "Contribution"
|
|
||||||
means Covered Software of a particular Contributor.
|
|
||||||
|
|
||||||
1.4. "Covered Software"
|
|
||||||
means Source Code Form to which the initial Contributor has attached
|
|
||||||
the notice in Exhibit A, the Executable Form of such Source Code
|
|
||||||
Form, and Modifications of such Source Code Form, in each case
|
|
||||||
including portions thereof.
|
|
||||||
|
|
||||||
1.5. "Incompatible With Secondary Licenses"
|
|
||||||
means
|
|
||||||
|
|
||||||
(a) that the initial Contributor has attached the notice described
|
|
||||||
in Exhibit B to the Covered Software; or
|
|
||||||
|
|
||||||
(b) that the Covered Software was made available under the terms of
|
|
||||||
version 1.1 or earlier of the License, but not also under the
|
|
||||||
terms of a Secondary License.
|
|
||||||
|
|
||||||
1.6. "Executable Form"
|
|
||||||
means any form of the work other than Source Code Form.
|
|
||||||
|
|
||||||
1.7. "Larger Work"
|
|
||||||
means a work that combines Covered Software with other material, in
|
|
||||||
a separate file or files, that is not Covered Software.
|
|
||||||
|
|
||||||
1.8. "License"
|
|
||||||
means this document.
|
|
||||||
|
|
||||||
1.9. "Licensable"
|
|
||||||
means having the right to grant, to the maximum extent possible,
|
|
||||||
whether at the time of the initial grant or subsequently, any and
|
|
||||||
all of the rights conveyed by this License.
|
|
||||||
|
|
||||||
1.10. "Modifications"
|
|
||||||
means any of the following:
|
|
||||||
|
|
||||||
(a) any file in Source Code Form that results from an addition to,
|
|
||||||
deletion from, or modification of the contents of Covered
|
|
||||||
Software; or
|
|
||||||
|
|
||||||
(b) any new file in Source Code Form that contains any Covered
|
|
||||||
Software.
|
|
||||||
|
|
||||||
1.11. "Patent Claims" of a Contributor
|
|
||||||
means any patent claim(s), including without limitation, method,
|
|
||||||
process, and apparatus claims, in any patent Licensable by such
|
|
||||||
Contributor that would be infringed, but for the grant of the
|
|
||||||
License, by the making, using, selling, offering for sale, having
|
|
||||||
made, import, or transfer of either its Contributions or its
|
|
||||||
Contributor Version.
|
|
||||||
|
|
||||||
1.12. "Secondary License"
|
|
||||||
means either the GNU General Public License, Version 2.0, the GNU
|
|
||||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
||||||
Public License, Version 3.0, or any later versions of those
|
|
||||||
licenses.
|
|
||||||
|
|
||||||
1.13. "Source Code Form"
|
|
||||||
means the form of the work preferred for making modifications.
|
|
||||||
|
|
||||||
1.14. "You" (or "Your")
|
|
||||||
means an individual or a legal entity exercising rights under this
|
|
||||||
License. For legal entities, "You" includes any entity that
|
|
||||||
controls, is controlled by, or is under common control with You. For
|
|
||||||
purposes of this definition, "control" means (a) the power, direct
|
|
||||||
or indirect, to cause the direction or management of such entity,
|
|
||||||
whether by contract or otherwise, or (b) ownership of more than
|
|
||||||
fifty percent (50%) of the outstanding shares or beneficial
|
|
||||||
ownership of such entity.
|
|
||||||
|
|
||||||
2. License Grants and Conditions
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
2.1. Grants
|
|
||||||
|
|
||||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
||||||
non-exclusive license:
|
|
||||||
|
|
||||||
(a) under intellectual property rights (other than patent or trademark)
|
|
||||||
Licensable by such Contributor to use, reproduce, make available,
|
|
||||||
modify, display, perform, distribute, and otherwise exploit its
|
|
||||||
Contributions, either on an unmodified basis, with Modifications, or
|
|
||||||
as part of a Larger Work; and
|
|
||||||
|
|
||||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
||||||
for sale, have made, import, and otherwise transfer either its
|
|
||||||
Contributions or its Contributor Version.
|
|
||||||
|
|
||||||
2.2. Effective Date
|
|
||||||
|
|
||||||
The licenses granted in Section 2.1 with respect to any Contribution
|
|
||||||
become effective for each Contribution on the date the Contributor first
|
|
||||||
distributes such Contribution.
|
|
||||||
|
|
||||||
2.3. Limitations on Grant Scope
|
|
||||||
|
|
||||||
The licenses granted in this Section 2 are the only rights granted under
|
|
||||||
this License. No additional rights or licenses will be implied from the
|
|
||||||
distribution or licensing of Covered Software under this License.
|
|
||||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
|
||||||
Contributor:
|
|
||||||
|
|
||||||
(a) for any code that a Contributor has removed from Covered Software;
|
|
||||||
or
|
|
||||||
|
|
||||||
(b) for infringements caused by: (i) Your and any other third party's
|
|
||||||
modifications of Covered Software, or (ii) the combination of its
|
|
||||||
Contributions with other software (except as part of its Contributor
|
|
||||||
Version); or
|
|
||||||
|
|
||||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
|
||||||
its Contributions.
|
|
||||||
|
|
||||||
This License does not grant any rights in the trademarks, service marks,
|
|
||||||
or logos of any Contributor (except as may be necessary to comply with
|
|
||||||
the notice requirements in Section 3.4).
|
|
||||||
|
|
||||||
2.4. Subsequent Licenses
|
|
||||||
|
|
||||||
No Contributor makes additional grants as a result of Your choice to
|
|
||||||
distribute the Covered Software under a subsequent version of this
|
|
||||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
|
||||||
permitted under the terms of Section 3.3).
|
|
||||||
|
|
||||||
2.5. Representation
|
|
||||||
|
|
||||||
Each Contributor represents that the Contributor believes its
|
|
||||||
Contributions are its original creation(s) or it has sufficient rights
|
|
||||||
to grant the rights to its Contributions conveyed by this License.
|
|
||||||
|
|
||||||
2.6. Fair Use
|
|
||||||
|
|
||||||
This License is not intended to limit any rights You have under
|
|
||||||
applicable copyright doctrines of fair use, fair dealing, or other
|
|
||||||
equivalents.
|
|
||||||
|
|
||||||
2.7. Conditions
|
|
||||||
|
|
||||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
||||||
in Section 2.1.
|
|
||||||
|
|
||||||
3. Responsibilities
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
3.1. Distribution of Source Form
|
|
||||||
|
|
||||||
All distribution of Covered Software in Source Code Form, including any
|
|
||||||
Modifications that You create or to which You contribute, must be under
|
|
||||||
the terms of this License. You must inform recipients that the Source
|
|
||||||
Code Form of the Covered Software is governed by the terms of this
|
|
||||||
License, and how they can obtain a copy of this License. You may not
|
|
||||||
attempt to alter or restrict the recipients' rights in the Source Code
|
|
||||||
Form.
|
|
||||||
|
|
||||||
3.2. Distribution of Executable Form
|
|
||||||
|
|
||||||
If You distribute Covered Software in Executable Form then:
|
|
||||||
|
|
||||||
(a) such Covered Software must also be made available in Source Code
|
|
||||||
Form, as described in Section 3.1, and You must inform recipients of
|
|
||||||
the Executable Form how they can obtain a copy of such Source Code
|
|
||||||
Form by reasonable means in a timely manner, at a charge no more
|
|
||||||
than the cost of distribution to the recipient; and
|
|
||||||
|
|
||||||
(b) You may distribute such Executable Form under the terms of this
|
|
||||||
License, or sublicense it under different terms, provided that the
|
|
||||||
license for the Executable Form does not attempt to limit or alter
|
|
||||||
the recipients' rights in the Source Code Form under this License.
|
|
||||||
|
|
||||||
3.3. Distribution of a Larger Work
|
|
||||||
|
|
||||||
You may create and distribute a Larger Work under terms of Your choice,
|
|
||||||
provided that You also comply with the requirements of this License for
|
|
||||||
the Covered Software. If the Larger Work is a combination of Covered
|
|
||||||
Software with a work governed by one or more Secondary Licenses, and the
|
|
||||||
Covered Software is not Incompatible With Secondary Licenses, this
|
|
||||||
License permits You to additionally distribute such Covered Software
|
|
||||||
under the terms of such Secondary License(s), so that the recipient of
|
|
||||||
the Larger Work may, at their option, further distribute the Covered
|
|
||||||
Software under the terms of either this License or such Secondary
|
|
||||||
License(s).
|
|
||||||
|
|
||||||
3.4. Notices
|
|
||||||
|
|
||||||
You may not remove or alter the substance of any license notices
|
|
||||||
(including copyright notices, patent notices, disclaimers of warranty,
|
|
||||||
or limitations of liability) contained within the Source Code Form of
|
|
||||||
the Covered Software, except that You may alter any license notices to
|
|
||||||
the extent required to remedy known factual inaccuracies.
|
|
||||||
|
|
||||||
3.5. Application of Additional Terms
|
|
||||||
|
|
||||||
You may choose to offer, and to charge a fee for, warranty, support,
|
|
||||||
indemnity or liability obligations to one or more recipients of Covered
|
|
||||||
Software. However, You may do so only on Your own behalf, and not on
|
|
||||||
behalf of any Contributor. You must make it absolutely clear that any
|
|
||||||
such warranty, support, indemnity, or liability obligation is offered by
|
|
||||||
You alone, and You hereby agree to indemnify every Contributor for any
|
|
||||||
liability incurred by such Contributor as a result of warranty, support,
|
|
||||||
indemnity or liability terms You offer. You may include additional
|
|
||||||
disclaimers of warranty and limitations of liability specific to any
|
|
||||||
jurisdiction.
|
|
||||||
|
|
||||||
4. Inability to Comply Due to Statute or Regulation
|
|
||||||
---------------------------------------------------
|
|
||||||
|
|
||||||
If it is impossible for You to comply with any of the terms of this
|
|
||||||
License with respect to some or all of the Covered Software due to
|
|
||||||
statute, judicial order, or regulation then You must: (a) comply with
|
|
||||||
the terms of this License to the maximum extent possible; and (b)
|
|
||||||
describe the limitations and the code they affect. Such description must
|
|
||||||
be placed in a text file included with all distributions of the Covered
|
|
||||||
Software under this License. Except to the extent prohibited by statute
|
|
||||||
or regulation, such description must be sufficiently detailed for a
|
|
||||||
recipient of ordinary skill to be able to understand it.
|
|
||||||
|
|
||||||
5. Termination
|
|
||||||
--------------
|
|
||||||
|
|
||||||
5.1. The rights granted under this License will terminate automatically
|
|
||||||
if You fail to comply with any of its terms. However, if You become
|
|
||||||
compliant, then the rights granted under this License from a particular
|
|
||||||
Contributor are reinstated (a) provisionally, unless and until such
|
|
||||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
||||||
ongoing basis, if such Contributor fails to notify You of the
|
|
||||||
non-compliance by some reasonable means prior to 60 days after You have
|
|
||||||
come back into compliance. Moreover, Your grants from a particular
|
|
||||||
Contributor are reinstated on an ongoing basis if such Contributor
|
|
||||||
notifies You of the non-compliance by some reasonable means, this is the
|
|
||||||
first time You have received notice of non-compliance with this License
|
|
||||||
from such Contributor, and You become compliant prior to 30 days after
|
|
||||||
Your receipt of the notice.
|
|
||||||
|
|
||||||
5.2. If You initiate litigation against any entity by asserting a patent
|
|
||||||
infringement claim (excluding declaratory judgment actions,
|
|
||||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
||||||
directly or indirectly infringes any patent, then the rights granted to
|
|
||||||
You by any and all Contributors for the Covered Software under Section
|
|
||||||
2.1 of this License shall terminate.
|
|
||||||
|
|
||||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
||||||
end user license agreements (excluding distributors and resellers) which
|
|
||||||
have been validly granted by You or Your distributors under this License
|
|
||||||
prior to termination shall survive termination.
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 6. Disclaimer of Warranty *
|
|
||||||
* ------------------------- *
|
|
||||||
* *
|
|
||||||
* Covered Software is provided under this License on an "as is" *
|
|
||||||
* basis, without warranty of any kind, either expressed, implied, or *
|
|
||||||
* statutory, including, without limitation, warranties that the *
|
|
||||||
* Covered Software is free of defects, merchantable, fit for a *
|
|
||||||
* particular purpose or non-infringing. The entire risk as to the *
|
|
||||||
* quality and performance of the Covered Software is with You. *
|
|
||||||
* Should any Covered Software prove defective in any respect, You *
|
|
||||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
|
||||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
|
||||||
* essential part of this License. No use of any Covered Software is *
|
|
||||||
* authorized under this License except under this disclaimer. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 7. Limitation of Liability *
|
|
||||||
* -------------------------- *
|
|
||||||
* *
|
|
||||||
* Under no circumstances and under no legal theory, whether tort *
|
|
||||||
* (including negligence), contract, or otherwise, shall any *
|
|
||||||
* Contributor, or anyone who distributes Covered Software as *
|
|
||||||
* permitted above, be liable to You for any direct, indirect, *
|
|
||||||
* special, incidental, or consequential damages of any character *
|
|
||||||
* including, without limitation, damages for lost profits, loss of *
|
|
||||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
|
||||||
* and all other commercial damages or losses, even if such party *
|
|
||||||
* shall have been informed of the possibility of such damages. This *
|
|
||||||
* limitation of liability shall not apply to liability for death or *
|
|
||||||
* personal injury resulting from such party's negligence to the *
|
|
||||||
* extent applicable law prohibits such limitation. Some *
|
|
||||||
* jurisdictions do not allow the exclusion or limitation of *
|
|
||||||
* incidental or consequential damages, so this exclusion and *
|
|
||||||
* limitation may not apply to You. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
8. Litigation
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Any litigation relating to this License may be brought only in the
|
|
||||||
courts of a jurisdiction where the defendant maintains its principal
|
|
||||||
place of business and such litigation shall be governed by laws of that
|
|
||||||
jurisdiction, without reference to its conflict-of-law provisions.
|
|
||||||
Nothing in this Section shall prevent a party's ability to bring
|
|
||||||
cross-claims or counter-claims.
|
|
||||||
|
|
||||||
9. Miscellaneous
|
|
||||||
----------------
|
|
||||||
|
|
||||||
This License represents the complete agreement concerning the subject
|
|
||||||
matter hereof. If any provision of this License is held to be
|
|
||||||
unenforceable, such provision shall be reformed only to the extent
|
|
||||||
necessary to make it enforceable. Any law or regulation which provides
|
|
||||||
that the language of a contract shall be construed against the drafter
|
|
||||||
shall not be used to construe this License against a Contributor.
|
|
||||||
|
|
||||||
10. Versions of the License
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
10.1. New Versions
|
|
||||||
|
|
||||||
Mozilla Foundation is the license steward. Except as provided in Section
|
|
||||||
10.3, no one other than the license steward has the right to modify or
|
|
||||||
publish new versions of this License. Each version will be given a
|
|
||||||
distinguishing version number.
|
|
||||||
|
|
||||||
10.2. Effect of New Versions
|
|
||||||
|
|
||||||
You may distribute the Covered Software under the terms of the version
|
|
||||||
of the License under which You originally received the Covered Software,
|
|
||||||
or under the terms of any subsequent version published by the license
|
|
||||||
steward.
|
|
||||||
|
|
||||||
10.3. Modified Versions
|
|
||||||
|
|
||||||
If you create software not governed by this License, and you want to
|
|
||||||
create a new license for such software, you may create and use a
|
|
||||||
modified version of this License if you rename the license and remove
|
|
||||||
any references to the name of the license steward (except to note that
|
|
||||||
such modified license differs from this License).
|
|
||||||
|
|
||||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
|
||||||
Licenses
|
|
||||||
|
|
||||||
If You choose to distribute Source Code Form that is Incompatible With
|
|
||||||
Secondary Licenses under the terms of this version of the License, the
|
|
||||||
notice described in Exhibit B of this License must be attached.
|
|
||||||
|
|
||||||
Exhibit A - Source Code Form License Notice
|
|
||||||
-------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
If it is not possible or desirable to put the notice in a particular
|
|
||||||
file, then You may include the notice in a location (such as a LICENSE
|
|
||||||
file in a relevant directory) where a recipient would be likely to look
|
|
||||||
for such a notice.
|
|
||||||
|
|
||||||
You may add additional accurate notices of copyright ownership.
|
|
||||||
|
|
||||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
||||||
---------------------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
||||||
defined by the Mozilla Public License, v. 2.0.
|
|
||||||
-106
@@ -1,106 +0,0 @@
|
|||||||
# Terraform Provider: cloud-init
|
|
||||||
|
|
||||||
The cloud-init provider supports rendering [cloud-init](https://cloudinit.readthedocs.io) configurations in a [MIME multi-part file](https://cloudinit.readthedocs.io/en/latest/explanation/format.html#mime-multi-part-archive).
|
|
||||||
|
|
||||||
> _This provider is intended to replace the [template provider](https://www.terraform.io/docs/providers/template/). General templating can now be achieved through the [`templatefile`](https://www.terraform.io/docs/configuration/functions/templatefile.html) function, without creating a separate data resource._
|
|
||||||
> _This provider exposes the `cloudinit_config` data source and resource, previously available as the [`template_cloudinit_config`](https://www.terraform.io/docs/providers/template/d/cloudinit_config.html) in the template provider._
|
|
||||||
|
|
||||||
## Documentation, questions and discussions
|
|
||||||
|
|
||||||
Official documentation on how to use this provider can be found on the
|
|
||||||
[Terraform Registry](https://registry.terraform.io/providers/hashicorp/cloudinit/latest/docs).
|
|
||||||
In case of specific questions or discussions, please use the
|
|
||||||
HashiCorp [Terraform Providers Discuss forums](https://discuss.hashicorp.com/c/terraform-providers/31),
|
|
||||||
in accordance with HashiCorp [Community Guidelines](https://www.hashicorp.com/community-guidelines).
|
|
||||||
|
|
||||||
We also provide:
|
|
||||||
|
|
||||||
* [Support](.github/SUPPORT.md) page for help when using the provider
|
|
||||||
* [Contributing](.github/CONTRIBUTING.md) guidelines in case you want to help this project
|
|
||||||
* [Design](DESIGN.md) documentation to understand the scope and maintenance decisions
|
|
||||||
|
|
||||||
The remainder of this document will focus on the development aspects of the provider.
|
|
||||||
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
* [Terraform](https://www.terraform.io/downloads)
|
|
||||||
* [Go](https://go.dev/doc/install) (1.24)
|
|
||||||
* [GNU Make](https://www.gnu.org/software/make/)
|
|
||||||
* [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional)
|
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
### Building
|
|
||||||
|
|
||||||
1. `git clone` this repository and `cd` into its directory
|
|
||||||
2. `make` will trigger the Golang build
|
|
||||||
|
|
||||||
The provided `GNUmakefile` defines additional commands generally useful during development,
|
|
||||||
like for running tests, generating documentation, code formatting and linting.
|
|
||||||
Taking a look at it's content is recommended.
|
|
||||||
|
|
||||||
### Testing
|
|
||||||
|
|
||||||
In order to test the provider, you can run
|
|
||||||
|
|
||||||
* `make test` to run provider tests
|
|
||||||
* `make testacc` to run provider acceptance tests
|
|
||||||
|
|
||||||
It's important to note that acceptance tests (`testacc`) will actually spawn
|
|
||||||
`terraform` and the provider. Read more about they work on the
|
|
||||||
[official page](https://www.terraform.io/plugin/sdkv2/testing/acceptance-tests).
|
|
||||||
|
|
||||||
### Generating documentation
|
|
||||||
|
|
||||||
This provider uses [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs/)
|
|
||||||
to generate documentation and store it in the `docs/` directory.
|
|
||||||
Once a release is cut, the Terraform Registry will download the documentation from `docs/`
|
|
||||||
and associate it with the release version. Read more about how this works on the
|
|
||||||
[official page](https://www.terraform.io/registry/providers/docs).
|
|
||||||
|
|
||||||
Use `make generate` to ensure the documentation is regenerated with any changes.
|
|
||||||
|
|
||||||
### Using a development build
|
|
||||||
|
|
||||||
If [running tests and acceptance tests](#testing) isn't enough, it's possible to set up a local terraform configuration
|
|
||||||
to use a development builds of the provider. This can be achieved by leveraging the Terraform CLI
|
|
||||||
[configuration file development overrides](https://www.terraform.io/cli/config/config-file#development-overrides-for-provider-developers).
|
|
||||||
|
|
||||||
First, use `make install` to place a fresh development build of the provider in your
|
|
||||||
[`${GOBIN}`](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies)
|
|
||||||
(defaults to `${GOPATH}/bin` or `${HOME}/go/bin` if `${GOPATH}` is not set). Repeat
|
|
||||||
this every time you make changes to the provider locally.
|
|
||||||
|
|
||||||
Then, setup your environment following [these instructions](https://www.terraform.io/plugin/debugging#terraform-cli-development-overrides)
|
|
||||||
to make your local terraform use your local build.
|
|
||||||
|
|
||||||
### Testing GitHub Actions
|
|
||||||
|
|
||||||
This project uses [GitHub Actions](https://docs.github.com/en/actions/automating-builds-and-tests) to realize its CI.
|
|
||||||
|
|
||||||
Sometimes it might be helpful to locally reproduce the behaviour of those actions,
|
|
||||||
and for this we use [act](https://github.com/nektos/act). Once installed, you can _simulate_ the actions executed
|
|
||||||
when opening a PR with:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
# List of workflows for the 'pull_request' action
|
|
||||||
$ act -l pull_request
|
|
||||||
|
|
||||||
# Execute the workflows associated with the `pull_request' action
|
|
||||||
$ act pull_request
|
|
||||||
```
|
|
||||||
|
|
||||||
## Releasing
|
|
||||||
|
|
||||||
The releasable builds are generated from the [build GH workflow](./.github/workflows/build.yml) and the release/promotion process
|
|
||||||
is completed via internal HashiCorp deployment tooling. Prior to release, the changelog should be updated in `main` with
|
|
||||||
the changie tool, example:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
changie batch 2.3.7 && changie merge
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
[Mozilla Public License v2.0](./LICENSE)
|
|
||||||
BIN
Binary file not shown.
-110
@@ -1,110 +0,0 @@
|
|||||||
## 3.3.2 (September 10, 2026)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Upgrade the Go toolchain to 1.26.8. ([#520](https://github.com/hashicorp/terraform-provider-null/issues/520))
|
|
||||||
|
|
||||||
## 3.3.1 (August 14, 2026)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Dependency updates ([#506](https://github.com/hashicorp/terraform-provider-null/issues/506))
|
|
||||||
|
|
||||||
## 3.3.0 (May 12, 2026)
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* Added linux/s390x build target for IBM Z platform support ([#494](https://github.com/hashicorp/terraform-provider-null/issues/494))
|
|
||||||
|
|
||||||
## 3.2.4 (April 21, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Dependency updates ([#421](https://github.com/hashicorp/terraform-provider-null/issues/421))
|
|
||||||
|
|
||||||
## 3.2.4-alpha1 (February 19, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release is being used to test new build and release actions.
|
|
||||||
|
|
||||||
## 3.2.4-alpha.2 (March 27, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release is being used to test new build and release actions.
|
|
||||||
|
|
||||||
## 3.2.3 (September 11, 2024)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#366](https://github.com/hashicorp/terraform-provider-null/issues/366))
|
|
||||||
|
|
||||||
## 3.2.2 (November 20, 2023)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#242](https://github.com/hashicorp/terraform-provider-null/issues/242))
|
|
||||||
|
|
||||||
## 3.2.1 (November 17, 2022)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* provider: Fix random number generation for `id` attributes ([#160](https://github.com/hashicorp/terraform-provider-null/pull/160))
|
|
||||||
|
|
||||||
## 3.2.0 (October 25, 2022)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Provider: Rewritten to use the new [`terraform-plugin-framework`](https://www.terraform.io/plugin/framework) ([#150](https://github.com/hashicorp/terraform-provider-null/pull/150))
|
|
||||||
|
|
||||||
## 3.1.1 (March 16, 2022)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Updated [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) to `v0.7.0`:
|
|
||||||
this improves generated documentation, with attributes now correctly formatted as `code`
|
|
||||||
and provided with anchors.
|
|
||||||
* Functionally identical to the previous 3.1.0 release.
|
|
||||||
|
|
||||||
## 3.1.0 (February 19, 2021)
|
|
||||||
|
|
||||||
Binary releases of this provider now include the darwin-arm64 platform. This version contains no further changes.
|
|
||||||
|
|
||||||
## 3.0.0 (October 08, 2020)
|
|
||||||
|
|
||||||
Binary releases of this provider now include the linux-arm64 platform.
|
|
||||||
|
|
||||||
BREAKING CHANGES:
|
|
||||||
|
|
||||||
* Upgrade to version 2 of the Terraform Plugin SDK, which drops support for Terraform 0.11. This provider will continue to work as expected for users of Terraform 0.11, which will not download the new version. ([#47](https://github.com/terraform-providers/terraform-provider-null/issues/47))
|
|
||||||
|
|
||||||
## 2.1.2 (April 30, 2019)
|
|
||||||
|
|
||||||
* This releases includes another Terraform SDK upgrade intended to align with that being used for other providers as we prepare for the Core v0.12.0 release. It should have no significant changes in behavior for this provider.
|
|
||||||
|
|
||||||
## 2.1.1 (April 11, 2019)
|
|
||||||
|
|
||||||
* This releases includes only a Terraform SDK upgrade intended to align with that being used for other providers as we prepare for the Core v0.12.0 release. It should have no significant changes in behavior for this provider.
|
|
||||||
|
|
||||||
## 2.1.0 (February 27, 2019)
|
|
||||||
|
|
||||||
IMPROVEMENTS:
|
|
||||||
|
|
||||||
* The previous release contains an SDK incompatible with TF 0.12. Fortunately 0.12 was not released yet so upgrading the vendored sdk makes this release compatible with 0.12.
|
|
||||||
|
|
||||||
## 2.0.0 (January 18, 2019)
|
|
||||||
|
|
||||||
IMPROVEMENTS:
|
|
||||||
|
|
||||||
* The provider is now compatible with Terraform v0.12, while retaining compatibility with prior versions.
|
|
||||||
|
|
||||||
## 1.0.0 (September 26, 2017)
|
|
||||||
|
|
||||||
* No changes from 0.1.0; just adjusting to [the new version numbering scheme](https://www.hashicorp.com/blog/hashicorp-terraform-provider-versioning/).
|
|
||||||
|
|
||||||
## 0.1.0 (June 21, 2017)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Same functionality as that of Terraform 0.9.8. Repacked as part of [Provider Splitout](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/)
|
|
||||||
-375
@@ -1,375 +0,0 @@
|
|||||||
Copyright IBM Corp. 2017, 2026
|
|
||||||
|
|
||||||
Mozilla Public License Version 2.0
|
|
||||||
==================================
|
|
||||||
|
|
||||||
1. Definitions
|
|
||||||
--------------
|
|
||||||
|
|
||||||
1.1. "Contributor"
|
|
||||||
means each individual or legal entity that creates, contributes to
|
|
||||||
the creation of, or owns Covered Software.
|
|
||||||
|
|
||||||
1.2. "Contributor Version"
|
|
||||||
means the combination of the Contributions of others (if any) used
|
|
||||||
by a Contributor and that particular Contributor's Contribution.
|
|
||||||
|
|
||||||
1.3. "Contribution"
|
|
||||||
means Covered Software of a particular Contributor.
|
|
||||||
|
|
||||||
1.4. "Covered Software"
|
|
||||||
means Source Code Form to which the initial Contributor has attached
|
|
||||||
the notice in Exhibit A, the Executable Form of such Source Code
|
|
||||||
Form, and Modifications of such Source Code Form, in each case
|
|
||||||
including portions thereof.
|
|
||||||
|
|
||||||
1.5. "Incompatible With Secondary Licenses"
|
|
||||||
means
|
|
||||||
|
|
||||||
(a) that the initial Contributor has attached the notice described
|
|
||||||
in Exhibit B to the Covered Software; or
|
|
||||||
|
|
||||||
(b) that the Covered Software was made available under the terms of
|
|
||||||
version 1.1 or earlier of the License, but not also under the
|
|
||||||
terms of a Secondary License.
|
|
||||||
|
|
||||||
1.6. "Executable Form"
|
|
||||||
means any form of the work other than Source Code Form.
|
|
||||||
|
|
||||||
1.7. "Larger Work"
|
|
||||||
means a work that combines Covered Software with other material, in
|
|
||||||
a separate file or files, that is not Covered Software.
|
|
||||||
|
|
||||||
1.8. "License"
|
|
||||||
means this document.
|
|
||||||
|
|
||||||
1.9. "Licensable"
|
|
||||||
means having the right to grant, to the maximum extent possible,
|
|
||||||
whether at the time of the initial grant or subsequently, any and
|
|
||||||
all of the rights conveyed by this License.
|
|
||||||
|
|
||||||
1.10. "Modifications"
|
|
||||||
means any of the following:
|
|
||||||
|
|
||||||
(a) any file in Source Code Form that results from an addition to,
|
|
||||||
deletion from, or modification of the contents of Covered
|
|
||||||
Software; or
|
|
||||||
|
|
||||||
(b) any new file in Source Code Form that contains any Covered
|
|
||||||
Software.
|
|
||||||
|
|
||||||
1.11. "Patent Claims" of a Contributor
|
|
||||||
means any patent claim(s), including without limitation, method,
|
|
||||||
process, and apparatus claims, in any patent Licensable by such
|
|
||||||
Contributor that would be infringed, but for the grant of the
|
|
||||||
License, by the making, using, selling, offering for sale, having
|
|
||||||
made, import, or transfer of either its Contributions or its
|
|
||||||
Contributor Version.
|
|
||||||
|
|
||||||
1.12. "Secondary License"
|
|
||||||
means either the GNU General Public License, Version 2.0, the GNU
|
|
||||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
||||||
Public License, Version 3.0, or any later versions of those
|
|
||||||
licenses.
|
|
||||||
|
|
||||||
1.13. "Source Code Form"
|
|
||||||
means the form of the work preferred for making modifications.
|
|
||||||
|
|
||||||
1.14. "You" (or "Your")
|
|
||||||
means an individual or a legal entity exercising rights under this
|
|
||||||
License. For legal entities, "You" includes any entity that
|
|
||||||
controls, is controlled by, or is under common control with You. For
|
|
||||||
purposes of this definition, "control" means (a) the power, direct
|
|
||||||
or indirect, to cause the direction or management of such entity,
|
|
||||||
whether by contract or otherwise, or (b) ownership of more than
|
|
||||||
fifty percent (50%) of the outstanding shares or beneficial
|
|
||||||
ownership of such entity.
|
|
||||||
|
|
||||||
2. License Grants and Conditions
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
2.1. Grants
|
|
||||||
|
|
||||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
||||||
non-exclusive license:
|
|
||||||
|
|
||||||
(a) under intellectual property rights (other than patent or trademark)
|
|
||||||
Licensable by such Contributor to use, reproduce, make available,
|
|
||||||
modify, display, perform, distribute, and otherwise exploit its
|
|
||||||
Contributions, either on an unmodified basis, with Modifications, or
|
|
||||||
as part of a Larger Work; and
|
|
||||||
|
|
||||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
||||||
for sale, have made, import, and otherwise transfer either its
|
|
||||||
Contributions or its Contributor Version.
|
|
||||||
|
|
||||||
2.2. Effective Date
|
|
||||||
|
|
||||||
The licenses granted in Section 2.1 with respect to any Contribution
|
|
||||||
become effective for each Contribution on the date the Contributor first
|
|
||||||
distributes such Contribution.
|
|
||||||
|
|
||||||
2.3. Limitations on Grant Scope
|
|
||||||
|
|
||||||
The licenses granted in this Section 2 are the only rights granted under
|
|
||||||
this License. No additional rights or licenses will be implied from the
|
|
||||||
distribution or licensing of Covered Software under this License.
|
|
||||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
|
||||||
Contributor:
|
|
||||||
|
|
||||||
(a) for any code that a Contributor has removed from Covered Software;
|
|
||||||
or
|
|
||||||
|
|
||||||
(b) for infringements caused by: (i) Your and any other third party's
|
|
||||||
modifications of Covered Software, or (ii) the combination of its
|
|
||||||
Contributions with other software (except as part of its Contributor
|
|
||||||
Version); or
|
|
||||||
|
|
||||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
|
||||||
its Contributions.
|
|
||||||
|
|
||||||
This License does not grant any rights in the trademarks, service marks,
|
|
||||||
or logos of any Contributor (except as may be necessary to comply with
|
|
||||||
the notice requirements in Section 3.4).
|
|
||||||
|
|
||||||
2.4. Subsequent Licenses
|
|
||||||
|
|
||||||
No Contributor makes additional grants as a result of Your choice to
|
|
||||||
distribute the Covered Software under a subsequent version of this
|
|
||||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
|
||||||
permitted under the terms of Section 3.3).
|
|
||||||
|
|
||||||
2.5. Representation
|
|
||||||
|
|
||||||
Each Contributor represents that the Contributor believes its
|
|
||||||
Contributions are its original creation(s) or it has sufficient rights
|
|
||||||
to grant the rights to its Contributions conveyed by this License.
|
|
||||||
|
|
||||||
2.6. Fair Use
|
|
||||||
|
|
||||||
This License is not intended to limit any rights You have under
|
|
||||||
applicable copyright doctrines of fair use, fair dealing, or other
|
|
||||||
equivalents.
|
|
||||||
|
|
||||||
2.7. Conditions
|
|
||||||
|
|
||||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
||||||
in Section 2.1.
|
|
||||||
|
|
||||||
3. Responsibilities
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
3.1. Distribution of Source Form
|
|
||||||
|
|
||||||
All distribution of Covered Software in Source Code Form, including any
|
|
||||||
Modifications that You create or to which You contribute, must be under
|
|
||||||
the terms of this License. You must inform recipients that the Source
|
|
||||||
Code Form of the Covered Software is governed by the terms of this
|
|
||||||
License, and how they can obtain a copy of this License. You may not
|
|
||||||
attempt to alter or restrict the recipients' rights in the Source Code
|
|
||||||
Form.
|
|
||||||
|
|
||||||
3.2. Distribution of Executable Form
|
|
||||||
|
|
||||||
If You distribute Covered Software in Executable Form then:
|
|
||||||
|
|
||||||
(a) such Covered Software must also be made available in Source Code
|
|
||||||
Form, as described in Section 3.1, and You must inform recipients of
|
|
||||||
the Executable Form how they can obtain a copy of such Source Code
|
|
||||||
Form by reasonable means in a timely manner, at a charge no more
|
|
||||||
than the cost of distribution to the recipient; and
|
|
||||||
|
|
||||||
(b) You may distribute such Executable Form under the terms of this
|
|
||||||
License, or sublicense it under different terms, provided that the
|
|
||||||
license for the Executable Form does not attempt to limit or alter
|
|
||||||
the recipients' rights in the Source Code Form under this License.
|
|
||||||
|
|
||||||
3.3. Distribution of a Larger Work
|
|
||||||
|
|
||||||
You may create and distribute a Larger Work under terms of Your choice,
|
|
||||||
provided that You also comply with the requirements of this License for
|
|
||||||
the Covered Software. If the Larger Work is a combination of Covered
|
|
||||||
Software with a work governed by one or more Secondary Licenses, and the
|
|
||||||
Covered Software is not Incompatible With Secondary Licenses, this
|
|
||||||
License permits You to additionally distribute such Covered Software
|
|
||||||
under the terms of such Secondary License(s), so that the recipient of
|
|
||||||
the Larger Work may, at their option, further distribute the Covered
|
|
||||||
Software under the terms of either this License or such Secondary
|
|
||||||
License(s).
|
|
||||||
|
|
||||||
3.4. Notices
|
|
||||||
|
|
||||||
You may not remove or alter the substance of any license notices
|
|
||||||
(including copyright notices, patent notices, disclaimers of warranty,
|
|
||||||
or limitations of liability) contained within the Source Code Form of
|
|
||||||
the Covered Software, except that You may alter any license notices to
|
|
||||||
the extent required to remedy known factual inaccuracies.
|
|
||||||
|
|
||||||
3.5. Application of Additional Terms
|
|
||||||
|
|
||||||
You may choose to offer, and to charge a fee for, warranty, support,
|
|
||||||
indemnity or liability obligations to one or more recipients of Covered
|
|
||||||
Software. However, You may do so only on Your own behalf, and not on
|
|
||||||
behalf of any Contributor. You must make it absolutely clear that any
|
|
||||||
such warranty, support, indemnity, or liability obligation is offered by
|
|
||||||
You alone, and You hereby agree to indemnify every Contributor for any
|
|
||||||
liability incurred by such Contributor as a result of warranty, support,
|
|
||||||
indemnity or liability terms You offer. You may include additional
|
|
||||||
disclaimers of warranty and limitations of liability specific to any
|
|
||||||
jurisdiction.
|
|
||||||
|
|
||||||
4. Inability to Comply Due to Statute or Regulation
|
|
||||||
---------------------------------------------------
|
|
||||||
|
|
||||||
If it is impossible for You to comply with any of the terms of this
|
|
||||||
License with respect to some or all of the Covered Software due to
|
|
||||||
statute, judicial order, or regulation then You must: (a) comply with
|
|
||||||
the terms of this License to the maximum extent possible; and (b)
|
|
||||||
describe the limitations and the code they affect. Such description must
|
|
||||||
be placed in a text file included with all distributions of the Covered
|
|
||||||
Software under this License. Except to the extent prohibited by statute
|
|
||||||
or regulation, such description must be sufficiently detailed for a
|
|
||||||
recipient of ordinary skill to be able to understand it.
|
|
||||||
|
|
||||||
5. Termination
|
|
||||||
--------------
|
|
||||||
|
|
||||||
5.1. The rights granted under this License will terminate automatically
|
|
||||||
if You fail to comply with any of its terms. However, if You become
|
|
||||||
compliant, then the rights granted under this License from a particular
|
|
||||||
Contributor are reinstated (a) provisionally, unless and until such
|
|
||||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
||||||
ongoing basis, if such Contributor fails to notify You of the
|
|
||||||
non-compliance by some reasonable means prior to 60 days after You have
|
|
||||||
come back into compliance. Moreover, Your grants from a particular
|
|
||||||
Contributor are reinstated on an ongoing basis if such Contributor
|
|
||||||
notifies You of the non-compliance by some reasonable means, this is the
|
|
||||||
first time You have received notice of non-compliance with this License
|
|
||||||
from such Contributor, and You become compliant prior to 30 days after
|
|
||||||
Your receipt of the notice.
|
|
||||||
|
|
||||||
5.2. If You initiate litigation against any entity by asserting a patent
|
|
||||||
infringement claim (excluding declaratory judgment actions,
|
|
||||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
||||||
directly or indirectly infringes any patent, then the rights granted to
|
|
||||||
You by any and all Contributors for the Covered Software under Section
|
|
||||||
2.1 of this License shall terminate.
|
|
||||||
|
|
||||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
||||||
end user license agreements (excluding distributors and resellers) which
|
|
||||||
have been validly granted by You or Your distributors under this License
|
|
||||||
prior to termination shall survive termination.
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 6. Disclaimer of Warranty *
|
|
||||||
* ------------------------- *
|
|
||||||
* *
|
|
||||||
* Covered Software is provided under this License on an "as is" *
|
|
||||||
* basis, without warranty of any kind, either expressed, implied, or *
|
|
||||||
* statutory, including, without limitation, warranties that the *
|
|
||||||
* Covered Software is free of defects, merchantable, fit for a *
|
|
||||||
* particular purpose or non-infringing. The entire risk as to the *
|
|
||||||
* quality and performance of the Covered Software is with You. *
|
|
||||||
* Should any Covered Software prove defective in any respect, You *
|
|
||||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
|
||||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
|
||||||
* essential part of this License. No use of any Covered Software is *
|
|
||||||
* authorized under this License except under this disclaimer. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 7. Limitation of Liability *
|
|
||||||
* -------------------------- *
|
|
||||||
* *
|
|
||||||
* Under no circumstances and under no legal theory, whether tort *
|
|
||||||
* (including negligence), contract, or otherwise, shall any *
|
|
||||||
* Contributor, or anyone who distributes Covered Software as *
|
|
||||||
* permitted above, be liable to You for any direct, indirect, *
|
|
||||||
* special, incidental, or consequential damages of any character *
|
|
||||||
* including, without limitation, damages for lost profits, loss of *
|
|
||||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
|
||||||
* and all other commercial damages or losses, even if such party *
|
|
||||||
* shall have been informed of the possibility of such damages. This *
|
|
||||||
* limitation of liability shall not apply to liability for death or *
|
|
||||||
* personal injury resulting from such party's negligence to the *
|
|
||||||
* extent applicable law prohibits such limitation. Some *
|
|
||||||
* jurisdictions do not allow the exclusion or limitation of *
|
|
||||||
* incidental or consequential damages, so this exclusion and *
|
|
||||||
* limitation may not apply to You. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
8. Litigation
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Any litigation relating to this License may be brought only in the
|
|
||||||
courts of a jurisdiction where the defendant maintains its principal
|
|
||||||
place of business and such litigation shall be governed by laws of that
|
|
||||||
jurisdiction, without reference to its conflict-of-law provisions.
|
|
||||||
Nothing in this Section shall prevent a party's ability to bring
|
|
||||||
cross-claims or counter-claims.
|
|
||||||
|
|
||||||
9. Miscellaneous
|
|
||||||
----------------
|
|
||||||
|
|
||||||
This License represents the complete agreement concerning the subject
|
|
||||||
matter hereof. If any provision of this License is held to be
|
|
||||||
unenforceable, such provision shall be reformed only to the extent
|
|
||||||
necessary to make it enforceable. Any law or regulation which provides
|
|
||||||
that the language of a contract shall be construed against the drafter
|
|
||||||
shall not be used to construe this License against a Contributor.
|
|
||||||
|
|
||||||
10. Versions of the License
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
10.1. New Versions
|
|
||||||
|
|
||||||
Mozilla Foundation is the license steward. Except as provided in Section
|
|
||||||
10.3, no one other than the license steward has the right to modify or
|
|
||||||
publish new versions of this License. Each version will be given a
|
|
||||||
distinguishing version number.
|
|
||||||
|
|
||||||
10.2. Effect of New Versions
|
|
||||||
|
|
||||||
You may distribute the Covered Software under the terms of the version
|
|
||||||
of the License under which You originally received the Covered Software,
|
|
||||||
or under the terms of any subsequent version published by the license
|
|
||||||
steward.
|
|
||||||
|
|
||||||
10.3. Modified Versions
|
|
||||||
|
|
||||||
If you create software not governed by this License, and you want to
|
|
||||||
create a new license for such software, you may create and use a
|
|
||||||
modified version of this License if you rename the license and remove
|
|
||||||
any references to the name of the license steward (except to note that
|
|
||||||
such modified license differs from this License).
|
|
||||||
|
|
||||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
|
||||||
Licenses
|
|
||||||
|
|
||||||
If You choose to distribute Source Code Form that is Incompatible With
|
|
||||||
Secondary Licenses under the terms of this version of the License, the
|
|
||||||
notice described in Exhibit B of this License must be attached.
|
|
||||||
|
|
||||||
Exhibit A - Source Code Form License Notice
|
|
||||||
-------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
If it is not possible or desirable to put the notice in a particular
|
|
||||||
file, then You may include the notice in a location (such as a LICENSE
|
|
||||||
file in a relevant directory) where a recipient would be likely to look
|
|
||||||
for such a notice.
|
|
||||||
|
|
||||||
You may add additional accurate notices of copyright ownership.
|
|
||||||
|
|
||||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
||||||
---------------------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
||||||
defined by the Mozilla Public License, v. 2.0.
|
|
||||||
-116
@@ -1,116 +0,0 @@
|
|||||||
# Terraform Provider: Null
|
|
||||||
|
|
||||||
The Null provider is a rather-unusual provider that has constructs that intentionally do nothing. This may sound strange, and indeed these constructs do not need to be used in most cases, but they can be useful in various situations to help orchestrate tricky behavior or work around limitations.
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
* [Terraform](https://www.terraform.io/downloads)
|
|
||||||
* [Go](https://go.dev/doc/install) (1.26)
|
|
||||||
* [GNU Make](https://www.gnu.org/software/make/)
|
|
||||||
* [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional)
|
|
||||||
|
|
||||||
## Documentation, questions and discussions
|
|
||||||
Official documentation on how to use this provider can be found on the
|
|
||||||
[Terraform Registry](https://registry.terraform.io/providers/hashicorp/null/latest/docs).
|
|
||||||
In case of specific questions or discussions, please use the
|
|
||||||
HashiCorp [Terraform Providers Discuss forums](https://discuss.hashicorp.com/c/terraform-providers/31),
|
|
||||||
in accordance with HashiCorp [Community Guidelines](https://www.hashicorp.com/community-guidelines).
|
|
||||||
|
|
||||||
We also provide:
|
|
||||||
|
|
||||||
* [Support](.github/SUPPORT.md) page for help when using the provider
|
|
||||||
* [Contributing](.github/CONTRIBUTING.md) guidelines in case you want to help this project
|
|
||||||
|
|
||||||
## Compatibility
|
|
||||||
|
|
||||||
Compatibility table between this provider, the [Terraform Plugin Protocol](https://www.terraform.io/plugin/how-terraform-works#terraform-plugin-protocol)
|
|
||||||
version it implements, and Terraform:
|
|
||||||
|
|
||||||
| Null Provider | Terraform Plugin Protocol | Terraform |
|
|
||||||
|:-------------:|:-------------------------:|:---------:|
|
|
||||||
| `>= 3.0.x` | `5` | `>= 0.12` |
|
|
||||||
| `>= 2.1.x` | `4` and `5` | `>= 0.12` |
|
|
||||||
| `>= 2.x.x` | `4` | `<= 0.12` |
|
|
||||||
| `>= 1.x.x` | `4` | `<= 0.12` |
|
|
||||||
| `>= 0.1.x` | `4` | `<= 0.12` |
|
|
||||||
|
|
||||||
Details can be found querying the [Registry API](https://www.terraform.io/internals/provider-registry-protocol#list-available-versions)
|
|
||||||
that return all the details about which version are currently available for a particular provider.
|
|
||||||
[Here](https://registry.terraform.io/v1/providers/hashicorp/null/versions) are the details for Time (JSON response).
|
|
||||||
|
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
### Building
|
|
||||||
|
|
||||||
1. `git clone` this repository and `cd` into its directory
|
|
||||||
2. `make` will trigger the Golang build
|
|
||||||
|
|
||||||
The provided `GNUmakefile` defines additional commands generally useful during development,
|
|
||||||
like for running tests, generating documentation, code formatting and linting.
|
|
||||||
Taking a look at it's content is recommended.
|
|
||||||
|
|
||||||
### Testing
|
|
||||||
|
|
||||||
In order to test the provider, you can run
|
|
||||||
|
|
||||||
* `make test` to run provider tests
|
|
||||||
* `make testacc` to run provider acceptance tests
|
|
||||||
|
|
||||||
It's important to note that acceptance tests (`testacc`) will actually spawn
|
|
||||||
`terraform` and the provider. Read more about they work on the
|
|
||||||
[official page](https://www.terraform.io/plugin/sdkv2/testing/acceptance-tests).
|
|
||||||
|
|
||||||
### Generating documentation
|
|
||||||
|
|
||||||
This provider uses [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs/)
|
|
||||||
to generate documentation and store it in the `docs/` directory.
|
|
||||||
Once a release is cut, the Terraform Registry will download the documentation from `docs/`
|
|
||||||
and associate it with the release version. Read more about how this works on the
|
|
||||||
[official page](https://www.terraform.io/registry/providers/docs).
|
|
||||||
|
|
||||||
Use `make generate` to ensure the documentation is regenerated with any changes.
|
|
||||||
|
|
||||||
### Using a development build
|
|
||||||
|
|
||||||
If [running tests and acceptance tests](#testing) isn't enough, it's possible to set up a local terraform configuration
|
|
||||||
to use a development builds of the provider. This can be achieved by leveraging the Terraform CLI
|
|
||||||
[configuration file development overrides](https://www.terraform.io/cli/config/config-file#development-overrides-for-provider-developers).
|
|
||||||
|
|
||||||
First, use `make install` to place a fresh development build of the provider in your
|
|
||||||
[`${GOBIN}`](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies)
|
|
||||||
(defaults to `${GOPATH}/bin` or `${HOME}/go/bin` if `${GOPATH}` is not set). Repeat
|
|
||||||
this every time you make changes to the provider locally.
|
|
||||||
|
|
||||||
Then, setup your environment following [these instructions](https://www.terraform.io/plugin/debugging#terraform-cli-development-overrides)
|
|
||||||
to make your local terraform use your local build.
|
|
||||||
|
|
||||||
### Testing GitHub Actions
|
|
||||||
|
|
||||||
This project uses [GitHub Actions](https://docs.github.com/en/actions/automating-builds-and-tests) to realize its CI.
|
|
||||||
|
|
||||||
Sometimes it might be helpful to locally reproduce the behaviour of those actions,
|
|
||||||
and for this we use [act](https://github.com/nektos/act). Once installed, you can _simulate_ the actions executed
|
|
||||||
when opening a PR with:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
# List of workflows for the 'pull_request' action
|
|
||||||
$ act -l pull_request
|
|
||||||
|
|
||||||
# Execute the workflows associated with the `pull_request' action
|
|
||||||
$ act pull_request
|
|
||||||
```
|
|
||||||
|
|
||||||
## Releasing
|
|
||||||
|
|
||||||
The releasable builds are generated from the [build GH workflow](./.github/workflows/build.yml) and the release/promotion process
|
|
||||||
is completed via internal HashiCorp deployment tooling. Prior to release, the changelog should be updated in `main` with
|
|
||||||
the changie tool, example:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
changie batch 3.2.4 && changie merge
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
[Mozilla Public License v2.0](./LICENSE)
|
|
||||||
BIN
Binary file not shown.
-167
@@ -1,167 +0,0 @@
|
|||||||
## 0.14.1 (August 14, 2026)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Dependency updates ([#498](https://github.com/hashicorp/terraform-provider-time/issues/498))
|
|
||||||
|
|
||||||
## 0.14.0 (May 12, 2026)
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* Added linux/s390x build target for IBM Z platform support ([#486](https://github.com/hashicorp/terraform-provider-time/issues/486))
|
|
||||||
|
|
||||||
## 0.13.1 (April 28, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Update dependencies ([#410](https://github.com/hashicorp/terraform-provider-time/issues/410))
|
|
||||||
|
|
||||||
## 0.13.1-alpha1 (April 22, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release is being used to test new build and release actions. ([#413](https://github.com/hashicorp/terraform-provider-time/issues/413))
|
|
||||||
|
|
||||||
## 0.13.0 (March 04, 2025)
|
|
||||||
|
|
||||||
FEATURES:
|
|
||||||
|
|
||||||
* functions/duration_parse: Added a new `duration_parse` function that parses [Go duration strings](https://pkg.go.dev/time#ParseDuration). ([#350](https://github.com/hashicorp/terraform-provider-time/issues/350))
|
|
||||||
* functions/unix_timestamp_parse: Added a new `unix_timestamp_parse` function that parses a unix timestamp integer and returns an object representation. ([#385](https://github.com/hashicorp/terraform-provider-time/issues/385))
|
|
||||||
|
|
||||||
## 0.12.1 (September 11, 2024)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#351](https://github.com/hashicorp/terraform-provider-time/issues/351))
|
|
||||||
|
|
||||||
## 0.12.0 (July 17, 2024)
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* resource/time_static: If the `rfc3339` value is set in config and known at plan-time, all other attributes will also be known during plan. ([#255](https://github.com/hashicorp/terraform-provider-time/issues/255))
|
|
||||||
|
|
||||||
## 0.11.2 (May 28, 2024)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#327](https://github.com/hashicorp/terraform-provider-time/issues/327))
|
|
||||||
|
|
||||||
## 0.11.1 (March 11, 2024)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* No functional changes from v0.11.0. Minor documentation fixes. ([#299](https://github.com/hashicorp/terraform-provider-time/issues/299))
|
|
||||||
|
|
||||||
## 0.11.0 (March 11, 2024)
|
|
||||||
|
|
||||||
FEATURES:
|
|
||||||
|
|
||||||
* functions/rfc3339_parse: Added a new `rfc3339_parse` function that parses an RFC3339 timestamp string and returns an object representation. ([#280](https://github.com/hashicorp/terraform-provider-time/issues/280))
|
|
||||||
|
|
||||||
## 0.10.0 (December 06, 2023)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* resource/time_offset: Fix bug preventing multiple offset arguments from being set ([#189](https://github.com/hashicorp/terraform-provider-time/issues/189))
|
|
||||||
|
|
||||||
## 0.9.2 (November 28, 2023)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#263](https://github.com/hashicorp/terraform-provider-time/issues/263))
|
|
||||||
|
|
||||||
## 0.9.1 (November 2, 2022)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* resource/time_rotating: Correctly retrieve the Terraform state during update ([#132](https://github.com/hashicorp/terraform-provider-time/pull/132))
|
|
||||||
|
|
||||||
## 0.9.0 (October 11, 2022)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* provider: Rewritten to use the new [`terraform-plugin-framework`](https://www.terraform.io/plugin/framework) ([#112](https://github.com/hashicorp/terraform-provider-time/pull/112))
|
|
||||||
|
|
||||||
## 0.8.0 (August 10, 2022)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* documentation: Changed wording from "Conflicts with other `offset_`/`rotation_` arguments." to "At least one of the `offset_`/`rotation_` arguments must be configured." to correctly reflect the use of `AtLeastOneOf` ([#105](https://github.com/hashicorp/terraform-provider-time/pull/105))
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* provider: Upgrade Go version to 1.18 ([#114](https://github.com/hashicorp/terraform-provider-time/pull/114))
|
|
||||||
* provider: Enable `golangci-lint` ([#105](https://github.com/hashicorp/terraform-provider-time/pull/105))
|
|
||||||
|
|
||||||
## 0.7.2 (July 01, 2021)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* resource/time_sleep: Prevent `context deadline exceeded` error when timeout duration is configured above 20 minutes ([#45](https://github.com/hashicorp/terraform-provider-time/issues/45))
|
|
||||||
|
|
||||||
## 0.7.1 (May 04, 2021)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* provider: Ensure `darwin/arm64` platform is included in releases
|
|
||||||
|
|
||||||
## 0.7.0 (February 19, 2021)
|
|
||||||
|
|
||||||
Binary releases of this provider now include the darwin-arm64 platform. This version contains no further changes.
|
|
||||||
|
|
||||||
## 0.6.0 (October 04, 2020)
|
|
||||||
|
|
||||||
BREAKING CHANGES:
|
|
||||||
|
|
||||||
* Dropped support for Terraform 0.11 and lower ([#16](https://github.com/hashicorp/terraform-provider-time/issues/16))
|
|
||||||
|
|
||||||
ENHANCEMENTS
|
|
||||||
|
|
||||||
* Made `time_sleep` context aware, allowing easier early cancellation ([#16](https://github.com/hashicorp/terraform-provider-time/issues/16))
|
|
||||||
|
|
||||||
## 0.5.0 (May 13, 2020)
|
|
||||||
|
|
||||||
FEATURES
|
|
||||||
|
|
||||||
* **New Resource:** `time_sleep` ([#12](https://github.com/hashicorp/terraform-provider-time/issues/12))
|
|
||||||
|
|
||||||
# 0.4.0 (April 21, 2020)
|
|
||||||
|
|
||||||
BREAKING CHANGES:
|
|
||||||
|
|
||||||
* resource/time_offset: `keepers` argument renamed to `triggers`
|
|
||||||
* resource/time_offset: Remove non-RFC3339 RFC and `unixdate` attribute
|
|
||||||
* resource/time_rotating: `keepers` argument renamed to `triggers`
|
|
||||||
* resource/time_rotating: Remove non-RFC3339 RFC and `unixdate` attributes
|
|
||||||
* resource/time_static: `keepers` argument renamed to `triggers`
|
|
||||||
* resource/time_static: Remove non-RFC3339 RFC and `unixdate` attributes
|
|
||||||
|
|
||||||
# v0.3.0
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* resource/time_offset: Add `keepers` argument
|
|
||||||
* resource/time_rotating: Add `keepers` argument
|
|
||||||
* resource/time_static: Add `keepers` argument
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* resource/time_offset: Ensure `base_rfc3339` is always set in Terraform state during creation, even if unconfigured
|
|
||||||
|
|
||||||
# v0.2.0
|
|
||||||
|
|
||||||
BREAKING CHANGES:
|
|
||||||
|
|
||||||
* resource/time_static: The `expiration_` arguments have been moved to the new `time_rotating` resource as `rotation_` arguments.
|
|
||||||
|
|
||||||
FEATURES:
|
|
||||||
|
|
||||||
* **New Resource:** `time_offset`
|
|
||||||
* **New Resource:** `time_rotating`
|
|
||||||
|
|
||||||
# v0.1.0
|
|
||||||
|
|
||||||
FEATURES:
|
|
||||||
|
|
||||||
* **New Resource:** `time_static`
|
|
||||||
-375
@@ -1,375 +0,0 @@
|
|||||||
Copyright IBM Corp. 2020, 2026
|
|
||||||
|
|
||||||
Mozilla Public License Version 2.0
|
|
||||||
==================================
|
|
||||||
|
|
||||||
1. Definitions
|
|
||||||
--------------
|
|
||||||
|
|
||||||
1.1. "Contributor"
|
|
||||||
means each individual or legal entity that creates, contributes to
|
|
||||||
the creation of, or owns Covered Software.
|
|
||||||
|
|
||||||
1.2. "Contributor Version"
|
|
||||||
means the combination of the Contributions of others (if any) used
|
|
||||||
by a Contributor and that particular Contributor's Contribution.
|
|
||||||
|
|
||||||
1.3. "Contribution"
|
|
||||||
means Covered Software of a particular Contributor.
|
|
||||||
|
|
||||||
1.4. "Covered Software"
|
|
||||||
means Source Code Form to which the initial Contributor has attached
|
|
||||||
the notice in Exhibit A, the Executable Form of such Source Code
|
|
||||||
Form, and Modifications of such Source Code Form, in each case
|
|
||||||
including portions thereof.
|
|
||||||
|
|
||||||
1.5. "Incompatible With Secondary Licenses"
|
|
||||||
means
|
|
||||||
|
|
||||||
(a) that the initial Contributor has attached the notice described
|
|
||||||
in Exhibit B to the Covered Software; or
|
|
||||||
|
|
||||||
(b) that the Covered Software was made available under the terms of
|
|
||||||
version 1.1 or earlier of the License, but not also under the
|
|
||||||
terms of a Secondary License.
|
|
||||||
|
|
||||||
1.6. "Executable Form"
|
|
||||||
means any form of the work other than Source Code Form.
|
|
||||||
|
|
||||||
1.7. "Larger Work"
|
|
||||||
means a work that combines Covered Software with other material, in
|
|
||||||
a separate file or files, that is not Covered Software.
|
|
||||||
|
|
||||||
1.8. "License"
|
|
||||||
means this document.
|
|
||||||
|
|
||||||
1.9. "Licensable"
|
|
||||||
means having the right to grant, to the maximum extent possible,
|
|
||||||
whether at the time of the initial grant or subsequently, any and
|
|
||||||
all of the rights conveyed by this License.
|
|
||||||
|
|
||||||
1.10. "Modifications"
|
|
||||||
means any of the following:
|
|
||||||
|
|
||||||
(a) any file in Source Code Form that results from an addition to,
|
|
||||||
deletion from, or modification of the contents of Covered
|
|
||||||
Software; or
|
|
||||||
|
|
||||||
(b) any new file in Source Code Form that contains any Covered
|
|
||||||
Software.
|
|
||||||
|
|
||||||
1.11. "Patent Claims" of a Contributor
|
|
||||||
means any patent claim(s), including without limitation, method,
|
|
||||||
process, and apparatus claims, in any patent Licensable by such
|
|
||||||
Contributor that would be infringed, but for the grant of the
|
|
||||||
License, by the making, using, selling, offering for sale, having
|
|
||||||
made, import, or transfer of either its Contributions or its
|
|
||||||
Contributor Version.
|
|
||||||
|
|
||||||
1.12. "Secondary License"
|
|
||||||
means either the GNU General Public License, Version 2.0, the GNU
|
|
||||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
||||||
Public License, Version 3.0, or any later versions of those
|
|
||||||
licenses.
|
|
||||||
|
|
||||||
1.13. "Source Code Form"
|
|
||||||
means the form of the work preferred for making modifications.
|
|
||||||
|
|
||||||
1.14. "You" (or "Your")
|
|
||||||
means an individual or a legal entity exercising rights under this
|
|
||||||
License. For legal entities, "You" includes any entity that
|
|
||||||
controls, is controlled by, or is under common control with You. For
|
|
||||||
purposes of this definition, "control" means (a) the power, direct
|
|
||||||
or indirect, to cause the direction or management of such entity,
|
|
||||||
whether by contract or otherwise, or (b) ownership of more than
|
|
||||||
fifty percent (50%) of the outstanding shares or beneficial
|
|
||||||
ownership of such entity.
|
|
||||||
|
|
||||||
2. License Grants and Conditions
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
2.1. Grants
|
|
||||||
|
|
||||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
||||||
non-exclusive license:
|
|
||||||
|
|
||||||
(a) under intellectual property rights (other than patent or trademark)
|
|
||||||
Licensable by such Contributor to use, reproduce, make available,
|
|
||||||
modify, display, perform, distribute, and otherwise exploit its
|
|
||||||
Contributions, either on an unmodified basis, with Modifications, or
|
|
||||||
as part of a Larger Work; and
|
|
||||||
|
|
||||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
||||||
for sale, have made, import, and otherwise transfer either its
|
|
||||||
Contributions or its Contributor Version.
|
|
||||||
|
|
||||||
2.2. Effective Date
|
|
||||||
|
|
||||||
The licenses granted in Section 2.1 with respect to any Contribution
|
|
||||||
become effective for each Contribution on the date the Contributor first
|
|
||||||
distributes such Contribution.
|
|
||||||
|
|
||||||
2.3. Limitations on Grant Scope
|
|
||||||
|
|
||||||
The licenses granted in this Section 2 are the only rights granted under
|
|
||||||
this License. No additional rights or licenses will be implied from the
|
|
||||||
distribution or licensing of Covered Software under this License.
|
|
||||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
|
||||||
Contributor:
|
|
||||||
|
|
||||||
(a) for any code that a Contributor has removed from Covered Software;
|
|
||||||
or
|
|
||||||
|
|
||||||
(b) for infringements caused by: (i) Your and any other third party's
|
|
||||||
modifications of Covered Software, or (ii) the combination of its
|
|
||||||
Contributions with other software (except as part of its Contributor
|
|
||||||
Version); or
|
|
||||||
|
|
||||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
|
||||||
its Contributions.
|
|
||||||
|
|
||||||
This License does not grant any rights in the trademarks, service marks,
|
|
||||||
or logos of any Contributor (except as may be necessary to comply with
|
|
||||||
the notice requirements in Section 3.4).
|
|
||||||
|
|
||||||
2.4. Subsequent Licenses
|
|
||||||
|
|
||||||
No Contributor makes additional grants as a result of Your choice to
|
|
||||||
distribute the Covered Software under a subsequent version of this
|
|
||||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
|
||||||
permitted under the terms of Section 3.3).
|
|
||||||
|
|
||||||
2.5. Representation
|
|
||||||
|
|
||||||
Each Contributor represents that the Contributor believes its
|
|
||||||
Contributions are its original creation(s) or it has sufficient rights
|
|
||||||
to grant the rights to its Contributions conveyed by this License.
|
|
||||||
|
|
||||||
2.6. Fair Use
|
|
||||||
|
|
||||||
This License is not intended to limit any rights You have under
|
|
||||||
applicable copyright doctrines of fair use, fair dealing, or other
|
|
||||||
equivalents.
|
|
||||||
|
|
||||||
2.7. Conditions
|
|
||||||
|
|
||||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
||||||
in Section 2.1.
|
|
||||||
|
|
||||||
3. Responsibilities
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
3.1. Distribution of Source Form
|
|
||||||
|
|
||||||
All distribution of Covered Software in Source Code Form, including any
|
|
||||||
Modifications that You create or to which You contribute, must be under
|
|
||||||
the terms of this License. You must inform recipients that the Source
|
|
||||||
Code Form of the Covered Software is governed by the terms of this
|
|
||||||
License, and how they can obtain a copy of this License. You may not
|
|
||||||
attempt to alter or restrict the recipients' rights in the Source Code
|
|
||||||
Form.
|
|
||||||
|
|
||||||
3.2. Distribution of Executable Form
|
|
||||||
|
|
||||||
If You distribute Covered Software in Executable Form then:
|
|
||||||
|
|
||||||
(a) such Covered Software must also be made available in Source Code
|
|
||||||
Form, as described in Section 3.1, and You must inform recipients of
|
|
||||||
the Executable Form how they can obtain a copy of such Source Code
|
|
||||||
Form by reasonable means in a timely manner, at a charge no more
|
|
||||||
than the cost of distribution to the recipient; and
|
|
||||||
|
|
||||||
(b) You may distribute such Executable Form under the terms of this
|
|
||||||
License, or sublicense it under different terms, provided that the
|
|
||||||
license for the Executable Form does not attempt to limit or alter
|
|
||||||
the recipients' rights in the Source Code Form under this License.
|
|
||||||
|
|
||||||
3.3. Distribution of a Larger Work
|
|
||||||
|
|
||||||
You may create and distribute a Larger Work under terms of Your choice,
|
|
||||||
provided that You also comply with the requirements of this License for
|
|
||||||
the Covered Software. If the Larger Work is a combination of Covered
|
|
||||||
Software with a work governed by one or more Secondary Licenses, and the
|
|
||||||
Covered Software is not Incompatible With Secondary Licenses, this
|
|
||||||
License permits You to additionally distribute such Covered Software
|
|
||||||
under the terms of such Secondary License(s), so that the recipient of
|
|
||||||
the Larger Work may, at their option, further distribute the Covered
|
|
||||||
Software under the terms of either this License or such Secondary
|
|
||||||
License(s).
|
|
||||||
|
|
||||||
3.4. Notices
|
|
||||||
|
|
||||||
You may not remove or alter the substance of any license notices
|
|
||||||
(including copyright notices, patent notices, disclaimers of warranty,
|
|
||||||
or limitations of liability) contained within the Source Code Form of
|
|
||||||
the Covered Software, except that You may alter any license notices to
|
|
||||||
the extent required to remedy known factual inaccuracies.
|
|
||||||
|
|
||||||
3.5. Application of Additional Terms
|
|
||||||
|
|
||||||
You may choose to offer, and to charge a fee for, warranty, support,
|
|
||||||
indemnity or liability obligations to one or more recipients of Covered
|
|
||||||
Software. However, You may do so only on Your own behalf, and not on
|
|
||||||
behalf of any Contributor. You must make it absolutely clear that any
|
|
||||||
such warranty, support, indemnity, or liability obligation is offered by
|
|
||||||
You alone, and You hereby agree to indemnify every Contributor for any
|
|
||||||
liability incurred by such Contributor as a result of warranty, support,
|
|
||||||
indemnity or liability terms You offer. You may include additional
|
|
||||||
disclaimers of warranty and limitations of liability specific to any
|
|
||||||
jurisdiction.
|
|
||||||
|
|
||||||
4. Inability to Comply Due to Statute or Regulation
|
|
||||||
---------------------------------------------------
|
|
||||||
|
|
||||||
If it is impossible for You to comply with any of the terms of this
|
|
||||||
License with respect to some or all of the Covered Software due to
|
|
||||||
statute, judicial order, or regulation then You must: (a) comply with
|
|
||||||
the terms of this License to the maximum extent possible; and (b)
|
|
||||||
describe the limitations and the code they affect. Such description must
|
|
||||||
be placed in a text file included with all distributions of the Covered
|
|
||||||
Software under this License. Except to the extent prohibited by statute
|
|
||||||
or regulation, such description must be sufficiently detailed for a
|
|
||||||
recipient of ordinary skill to be able to understand it.
|
|
||||||
|
|
||||||
5. Termination
|
|
||||||
--------------
|
|
||||||
|
|
||||||
5.1. The rights granted under this License will terminate automatically
|
|
||||||
if You fail to comply with any of its terms. However, if You become
|
|
||||||
compliant, then the rights granted under this License from a particular
|
|
||||||
Contributor are reinstated (a) provisionally, unless and until such
|
|
||||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
||||||
ongoing basis, if such Contributor fails to notify You of the
|
|
||||||
non-compliance by some reasonable means prior to 60 days after You have
|
|
||||||
come back into compliance. Moreover, Your grants from a particular
|
|
||||||
Contributor are reinstated on an ongoing basis if such Contributor
|
|
||||||
notifies You of the non-compliance by some reasonable means, this is the
|
|
||||||
first time You have received notice of non-compliance with this License
|
|
||||||
from such Contributor, and You become compliant prior to 30 days after
|
|
||||||
Your receipt of the notice.
|
|
||||||
|
|
||||||
5.2. If You initiate litigation against any entity by asserting a patent
|
|
||||||
infringement claim (excluding declaratory judgment actions,
|
|
||||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
||||||
directly or indirectly infringes any patent, then the rights granted to
|
|
||||||
You by any and all Contributors for the Covered Software under Section
|
|
||||||
2.1 of this License shall terminate.
|
|
||||||
|
|
||||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
||||||
end user license agreements (excluding distributors and resellers) which
|
|
||||||
have been validly granted by You or Your distributors under this License
|
|
||||||
prior to termination shall survive termination.
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 6. Disclaimer of Warranty *
|
|
||||||
* ------------------------- *
|
|
||||||
* *
|
|
||||||
* Covered Software is provided under this License on an "as is" *
|
|
||||||
* basis, without warranty of any kind, either expressed, implied, or *
|
|
||||||
* statutory, including, without limitation, warranties that the *
|
|
||||||
* Covered Software is free of defects, merchantable, fit for a *
|
|
||||||
* particular purpose or non-infringing. The entire risk as to the *
|
|
||||||
* quality and performance of the Covered Software is with You. *
|
|
||||||
* Should any Covered Software prove defective in any respect, You *
|
|
||||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
|
||||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
|
||||||
* essential part of this License. No use of any Covered Software is *
|
|
||||||
* authorized under this License except under this disclaimer. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 7. Limitation of Liability *
|
|
||||||
* -------------------------- *
|
|
||||||
* *
|
|
||||||
* Under no circumstances and under no legal theory, whether tort *
|
|
||||||
* (including negligence), contract, or otherwise, shall any *
|
|
||||||
* Contributor, or anyone who distributes Covered Software as *
|
|
||||||
* permitted above, be liable to You for any direct, indirect, *
|
|
||||||
* special, incidental, or consequential damages of any character *
|
|
||||||
* including, without limitation, damages for lost profits, loss of *
|
|
||||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
|
||||||
* and all other commercial damages or losses, even if such party *
|
|
||||||
* shall have been informed of the possibility of such damages. This *
|
|
||||||
* limitation of liability shall not apply to liability for death or *
|
|
||||||
* personal injury resulting from such party's negligence to the *
|
|
||||||
* extent applicable law prohibits such limitation. Some *
|
|
||||||
* jurisdictions do not allow the exclusion or limitation of *
|
|
||||||
* incidental or consequential damages, so this exclusion and *
|
|
||||||
* limitation may not apply to You. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
8. Litigation
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Any litigation relating to this License may be brought only in the
|
|
||||||
courts of a jurisdiction where the defendant maintains its principal
|
|
||||||
place of business and such litigation shall be governed by laws of that
|
|
||||||
jurisdiction, without reference to its conflict-of-law provisions.
|
|
||||||
Nothing in this Section shall prevent a party's ability to bring
|
|
||||||
cross-claims or counter-claims.
|
|
||||||
|
|
||||||
9. Miscellaneous
|
|
||||||
----------------
|
|
||||||
|
|
||||||
This License represents the complete agreement concerning the subject
|
|
||||||
matter hereof. If any provision of this License is held to be
|
|
||||||
unenforceable, such provision shall be reformed only to the extent
|
|
||||||
necessary to make it enforceable. Any law or regulation which provides
|
|
||||||
that the language of a contract shall be construed against the drafter
|
|
||||||
shall not be used to construe this License against a Contributor.
|
|
||||||
|
|
||||||
10. Versions of the License
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
10.1. New Versions
|
|
||||||
|
|
||||||
Mozilla Foundation is the license steward. Except as provided in Section
|
|
||||||
10.3, no one other than the license steward has the right to modify or
|
|
||||||
publish new versions of this License. Each version will be given a
|
|
||||||
distinguishing version number.
|
|
||||||
|
|
||||||
10.2. Effect of New Versions
|
|
||||||
|
|
||||||
You may distribute the Covered Software under the terms of the version
|
|
||||||
of the License under which You originally received the Covered Software,
|
|
||||||
or under the terms of any subsequent version published by the license
|
|
||||||
steward.
|
|
||||||
|
|
||||||
10.3. Modified Versions
|
|
||||||
|
|
||||||
If you create software not governed by this License, and you want to
|
|
||||||
create a new license for such software, you may create and use a
|
|
||||||
modified version of this License if you rename the license and remove
|
|
||||||
any references to the name of the license steward (except to note that
|
|
||||||
such modified license differs from this License).
|
|
||||||
|
|
||||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
|
||||||
Licenses
|
|
||||||
|
|
||||||
If You choose to distribute Source Code Form that is Incompatible With
|
|
||||||
Secondary Licenses under the terms of this version of the License, the
|
|
||||||
notice described in Exhibit B of this License must be attached.
|
|
||||||
|
|
||||||
Exhibit A - Source Code Form License Notice
|
|
||||||
-------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
If it is not possible or desirable to put the notice in a particular
|
|
||||||
file, then You may include the notice in a location (such as a LICENSE
|
|
||||||
file in a relevant directory) where a recipient would be likely to look
|
|
||||||
for such a notice.
|
|
||||||
|
|
||||||
You may add additional accurate notices of copyright ownership.
|
|
||||||
|
|
||||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
||||||
---------------------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
||||||
defined by the Mozilla Public License, v. 2.0.
|
|
||||||
-140
@@ -1,140 +0,0 @@
|
|||||||
# Terraform Provider: Time
|
|
||||||
|
|
||||||
Terraform Provider for time-based resources.
|
|
||||||
|
|
||||||
Please note: Issues on this repository are intended to be related to bugs or feature requests with this particular provider codebase. See [Terraform Community](https://www.terraform.io/community.html) for a list of resources to ask questions about Terraform or this provider and its usage.
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
* [Terraform](https://www.terraform.io/downloads)
|
|
||||||
* [Go](https://go.dev/doc/install) (1.24)
|
|
||||||
* [GNU Make](https://www.gnu.org/software/make/)
|
|
||||||
* [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional)
|
|
||||||
|
|
||||||
## Using the Provider
|
|
||||||
|
|
||||||
This Terraform Provider is available to install automatically via `terraform init`. It is recommended to setup the following Terraform configuration to pin the major version:
|
|
||||||
|
|
||||||
```hcl
|
|
||||||
# Terraform 0.13 and later
|
|
||||||
terraform {
|
|
||||||
required_providers {
|
|
||||||
time = {
|
|
||||||
source = "hashicorp/time"
|
|
||||||
version = "~> X.Y" # where X.Y is the current major version and minor version
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Terraform 0.12
|
|
||||||
terraform {
|
|
||||||
required_providers {
|
|
||||||
time = "~> X.Y" # where X.Y is the current major version and minor version
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Documentation, questions and discussions
|
|
||||||
Official documentation on how to use this provider can be found on the
|
|
||||||
[Terraform Registry](https://registry.terraform.io/providers/hashicorp/time/latest/docs).
|
|
||||||
In case of specific questions or discussions, please use the
|
|
||||||
HashiCorp [Terraform Providers Discuss forums](https://discuss.hashicorp.com/c/terraform-providers/31),
|
|
||||||
in accordance with HashiCorp [Community Guidelines](https://www.hashicorp.com/community-guidelines).
|
|
||||||
|
|
||||||
We also provide:
|
|
||||||
|
|
||||||
* [Support](.github/SUPPORT.md) page for help when using the provider
|
|
||||||
* [Contributing](.github/CONTRIBUTING.md) guidelines in case you want to help this project
|
|
||||||
|
|
||||||
## Compatibility
|
|
||||||
|
|
||||||
Compatibility table between this provider, the [Terraform Plugin Protocol](https://www.terraform.io/plugin/how-terraform-works#terraform-plugin-protocol)
|
|
||||||
version it implements, and Terraform:
|
|
||||||
|
|
||||||
| Time Provider | Terraform Plugin Protocol | Terraform |
|
|
||||||
|:-------------:|:----------------------------------:|:---------:|
|
|
||||||
| `>= 0.8.x` | `5` | `>= 0.12` |
|
|
||||||
| `>= 0.7.x` | `5` | `>= 0.12` |
|
|
||||||
| `>= 0.6.x` | `5` | `>= 0.12` |
|
|
||||||
| `>= 0.5.x` | `4` and `5` | `<= 0.12` |
|
|
||||||
| `>= 0.4.x` | `4` and `5` | `<= 0.12` |
|
|
||||||
|
|
||||||
Details can be found querying the [Registry API](https://www.terraform.io/internals/provider-registry-protocol#list-available-versions)
|
|
||||||
that return all the details about which version are currently available for a particular provider.
|
|
||||||
[Here](https://registry.terraform.io/v1/providers/hashicorp/time/versions) are the details for Time (JSON response).
|
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
### Building
|
|
||||||
|
|
||||||
1. `git clone` this repository and `cd` into its directory
|
|
||||||
2. `make` will trigger the Golang build
|
|
||||||
|
|
||||||
The provided `GNUmakefile` defines additional commands generally useful during development,
|
|
||||||
like for running tests, generating documentation, code formatting and linting.
|
|
||||||
Taking a look at it's content is recommended.
|
|
||||||
|
|
||||||
### Testing
|
|
||||||
|
|
||||||
In order to test the provider, you can run
|
|
||||||
|
|
||||||
* `make test` to run provider tests
|
|
||||||
* `make testacc` to run provider acceptance tests
|
|
||||||
|
|
||||||
It's important to note that acceptance tests (`testacc`) will actually spawn
|
|
||||||
`terraform` and the provider. Read more about they work on the
|
|
||||||
[official page](https://www.terraform.io/plugin/sdkv2/testing/acceptance-tests).
|
|
||||||
|
|
||||||
### Generating documentation
|
|
||||||
|
|
||||||
This provider uses [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs/)
|
|
||||||
to generate documentation and store it in the `docs/` directory.
|
|
||||||
Once a release is cut, the Terraform Registry will download the documentation from `docs/`
|
|
||||||
and associate it with the release version. Read more about how this works on the
|
|
||||||
[official page](https://www.terraform.io/registry/providers/docs).
|
|
||||||
|
|
||||||
Use `make generate` to ensure the documentation is regenerated with any changes.
|
|
||||||
|
|
||||||
### Using a development build
|
|
||||||
|
|
||||||
If [running tests and acceptance tests](#testing) isn't enough, it's possible to set up a local terraform configuration
|
|
||||||
to use a development builds of the provider. This can be achieved by leveraging the Terraform CLI
|
|
||||||
[configuration file development overrides](https://www.terraform.io/cli/config/config-file#development-overrides-for-provider-developers).
|
|
||||||
|
|
||||||
First, use `make install` to place a fresh development build of the provider in your
|
|
||||||
[`${GOBIN}`](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies)
|
|
||||||
(defaults to `${GOPATH}/bin` or `${HOME}/go/bin` if `${GOPATH}` is not set). Repeat
|
|
||||||
this every time you make changes to the provider locally.
|
|
||||||
|
|
||||||
Then, setup your environment following [these instructions](https://www.terraform.io/plugin/debugging#terraform-cli-development-overrides)
|
|
||||||
to make your local terraform use your local build.
|
|
||||||
|
|
||||||
### Testing GitHub Actions
|
|
||||||
|
|
||||||
This project uses [GitHub Actions](https://docs.github.com/en/actions/automating-builds-and-tests) to realize its CI.
|
|
||||||
|
|
||||||
Sometimes it might be helpful to locally reproduce the behaviour of those actions,
|
|
||||||
and for this we use [act](https://github.com/nektos/act). Once installed, you can _simulate_ the actions executed
|
|
||||||
when opening a PR with:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
# List of workflows for the 'pull_request' action
|
|
||||||
$ act -l pull_request
|
|
||||||
|
|
||||||
# Execute the workflows associated with the `pull_request' action
|
|
||||||
$ act pull_request
|
|
||||||
```
|
|
||||||
|
|
||||||
## Releasing
|
|
||||||
|
|
||||||
The releasable builds are generated from the [build GH workflow](./.github/workflows/build.yml) and the release/promotion process
|
|
||||||
is completed via internal HashiCorp deployment tooling. Prior to release, the changelog should be updated in `main` with
|
|
||||||
the changie tool, example:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
changie batch 3.7.2 && changie merge
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
[Mozilla Public License v2.0](./LICENSE)
|
|
||||||
BIN
Binary file not shown.
-298
@@ -1,298 +0,0 @@
|
|||||||
## 4.4.1 (September 10, 2026)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Upgrade the Go toolchain to 1.26.8. ([#813](https://github.com/hashicorp/terraform-provider-tls/issues/813))
|
|
||||||
|
|
||||||
## 4.4.0 (August 31, 2026)
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* resource/tls_cert_request: Added write-only `private_key_pem_wo` and `private_key_pem_wo_version` attributes so the private key can be supplied at apply time without being persisted to Terraform state. `private_key_pem` is now optional. ([#645](https://github.com/hashicorp/terraform-provider-tls/issues/645))
|
|
||||||
* resource/tls_self_signed_cert: Added write-only `private_key_pem_wo` and `private_key_pem_wo_version` attributes so the private key can be supplied at apply time without being persisted to Terraform state. `private_key_pem` is now optional. ([#645](https://github.com/hashicorp/terraform-provider-tls/issues/645))
|
|
||||||
* resource/tls_locally_signed_cert: Added write-only `ca_private_key_pem_wo` and `ca_private_key_pem_wo_version` attributes so the CA private key can be supplied at apply time without being persisted to Terraform state. `ca_private_key_pem` is now optional. ([#645](https://github.com/hashicorp/terraform-provider-tls/issues/645))
|
|
||||||
* Updated `TestAccDataSourceCertificate_DevDot` acceptance test to reflect the current TLS certificate chain for `developer.hashicorp.com` ([#793](https://github.com/hashicorp/terraform-provider-tls/issues/793))
|
|
||||||
|
|
||||||
## 4.3.0 (May 12, 2026)
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* Added linux/s390x build target for IBM Z platform support ([#771](https://github.com/hashicorp/terraform-provider-tls/issues/771))
|
|
||||||
|
|
||||||
## 4.2.1 (January 30, 2026)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* fix regression triggering a replace for certs due to max_path_length defaulting to -1 ([#737](https://github.com/hashicorp/terraform-provider-tls/issues/737))
|
|
||||||
|
|
||||||
## 4.2.0 (January 28, 2026)
|
|
||||||
|
|
||||||
FEATURES:
|
|
||||||
|
|
||||||
* ephemeral/tls_public_key: New ephemeral resource that extracts the public key from a private key. ([#668](https://github.com/hashicorp/terraform-provider-tls/issues/668))
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* data-source/tls_certificats: Added `max_path_length` attribute ([#301](https://github.com/hashicorp/terraform-provider-tls/issues/301))
|
|
||||||
* resource/tls_self_signed_cert: Added optional `max_path_length` attribute ([#301](https://github.com/hashicorp/terraform-provider-tls/issues/301))
|
|
||||||
* resource/tls_locally_signed_cert: Added optional `max_path_length` attribute ([#301](https://github.com/hashicorp/terraform-provider-tls/issues/301))
|
|
||||||
|
|
||||||
## 4.1.0 (April 23, 2025)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* New [ephemeral resource](https://developer.hashicorp.com/terraform/language/resources/ephemeral) `tls_private_key` now supports [ephemeral values](https://developer.hashicorp.com/terraform/language/values/variables#exclude-values-from-state). ([#637](https://github.com/hashicorp/terraform-provider-tls/issues/637))
|
|
||||||
|
|
||||||
FEATURES:
|
|
||||||
|
|
||||||
* ephemeral/tls_private_key: New ephemeral resource that generates a PEM formatted private key. When used in combination with a managed resource write-only attribute, Terraform will not store the private key data in the plan or state file. ([#637](https://github.com/hashicorp/terraform-provider-tls/issues/637))
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* tls_cert_request: Added optional `email_address` attribute ([#35](https://github.com/hashicorp/terraform-provider-tls/issues/35))
|
|
||||||
* tls_self_signed_cert: Added optional `email_address` attribute ([#35](https://github.com/hashicorp/terraform-provider-tls/issues/35))
|
|
||||||
|
|
||||||
## 4.0.6 (September 11, 2024)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* all: This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#552](https://github.com/hashicorp/terraform-provider-tls/issues/552))
|
|
||||||
|
|
||||||
## 4.0.5 (November 27, 2023)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#432](https://github.com/hashicorp/terraform-provider-tls/issues/432))
|
|
||||||
|
|
||||||
## 4.0.4 (October 31, 2022)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: Ensure `terraform refresh` updates state when cert is ready for renewal ([#278](https://github.com/hashicorp/terraform-provider-tls/issues/278)).
|
|
||||||
* resource/tls_self_signed_cert: Ensure `terraform refresh` updates state when cert is ready for renewal ([#278](https://github.com/hashicorp/terraform-provider-tls/issues/278)).
|
|
||||||
|
|
||||||
## 4.0.3 (September 20, 2022)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: Prevented `Config Read Error` with Terraform version 1.3.0 and later
|
|
||||||
* resource/tls_self_signed_cert: Prevented `Config Read Error` with Terraform version 1.3.0 and later
|
|
||||||
|
|
||||||
## 4.0.2 (August 30, 2022)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* resource/tls_cert_request: Fix regexp in attribute plan modifier to correctly match PEM ([#255](https://github.com/hashicorp/terraform-provider-tls/issues/255)).
|
|
||||||
* resource/tls_locally_signed_cert: Fix regexp in attribute plan modifier to correctly match PEM ([#255](https://github.com/hashicorp/terraform-provider-tls/issues/255)).
|
|
||||||
* resource/tls_self_signed_cert: Fix regexp in attribute plan modifier to correctly match PEM ([#255](https://github.com/hashicorp/terraform-provider-tls/issues/255)).
|
|
||||||
|
|
||||||
## 4.0.1 (July 25, 2022)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* data-source/tls_certificate: Prevented `empty list of object` error with `certificates` attribute ([#244](https://github.com/hashicorp/terraform-provider-tls/issues/244)).
|
|
||||||
|
|
||||||
## 4.0.0 (July 21, 2022)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Provider has been re-written using the new [`terraform-plugin-framework`](https://www.terraform.io/plugin/framework) ([#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
|
|
||||||
* resource/tls_cert_request: `private_key_pem` attribute is now stored in the state _as-is_; first apply may result in an update-in-place ([#87](https://github.com/hashicorp/terraform-provider-tls/issues/87), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
|
|
||||||
* resource/tls_self_signed_cert: `private_key_pem` attribute is now stored in the state _as-is_; first apply may result in an update-in-place ([#87](https://github.com/hashicorp/terraform-provider-tls/issues/87), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: `cert_request_pem`, `ca_private_key_pem` and `ca_cert_pem` attributes are now stored in the state _as-is_; first apply may result in an update-in-place ([#87](https://github.com/hashicorp/terraform-provider-tls/issues/87), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
|
|
||||||
* resource/tls_private_key: `private_key_pem_pkcs8`, `private_key_openssh` and `public_key_fingerprint_sha256` attributes are now retro-fitted, depending on version being updated; first apply may result in an update-in-place ([#210](https://github.com/hashicorp/terraform-provider-tls/issues/210), [#225](https://github.com/hashicorp/terraform-provider-tls/pull/225))).
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* resource/tls_private_key: New attribute `private_key_pem_pkcs8` ([PKCS#8](https://datatracker.ietf.org/doc/html/rfc5208)) ([#210](https://github.com/hashicorp/terraform-provider-tls/issues/210), [#225](https://github.com/hashicorp/terraform-provider-tls/pull/225))).
|
|
||||||
|
|
||||||
BREAKING CHANGES:
|
|
||||||
|
|
||||||
* resource/tls_cert_request: Attribute `key_algorithm` is now read-only, as it's inferred from `private_key_pem` ([#174](https://github.com/hashicorp/terraform-provider-tls/issues/174), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
* resource/tls_self_signed_cert: Attribute `private_key_pem` is stored (and returned) _as-is_ (in accordance with [guidelines](https://www.terraform.io/plugin/sdkv2/best-practices/sensitive-state#don-t-encrypt-state)) ([#87](https://github.com/hashicorp/terraform-provider-tls/issues/87), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
|
|
||||||
* resource/tls_self_signed_cert: Attribute `key_algorithm` is now read-only, as it's inferred from `private_key_pem` ([#174](https://github.com/hashicorp/terraform-provider-tls/issues/174), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
* resource/tls_self_signed_cert: Setting an unsupported value in `allowed_uses` attribute, will now return an error instead of just a warning ([#185](https://github.com/hashicorp/terraform-provider-tls/issues/185), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
* resource/tls_self_signed_cert: Attribute `private_key_pem` is stored (and returned) _as-is_ (in accordance with [guidelines](https://www.terraform.io/plugin/sdkv2/best-practices/sensitive-state#don-t-encrypt-state)) ([#87](https://github.com/hashicorp/terraform-provider-tls/issues/87), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: Attribute `ca_key_algorithm` is now read-only, as it's inferred from `ca_private_key_pem` ([#174](https://github.com/hashicorp/terraform-provider-tls/issues/174), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
* resource/tls_locally_signed_cert: Setting an unsupported value in `allowed_uses` attribute, will now return an error instead of just a warning ([#185](https://github.com/hashicorp/terraform-provider-tls/issues/185), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
* resource/tls_locally_signed_cert: Attributes `cert_request_pem`, `ca_private_key_pem`, `ca_cert_pem` are stored (and returned) _as-is_ (in accordance with [guidelines](https://www.terraform.io/plugin/sdkv2/best-practices/sensitive-state#don-t-encrypt-state)) ([#87](https://github.com/hashicorp/terraform-provider-tls/issues/87), [#215](https://github.com/hashicorp/terraform-provider-tls/pull/215)).
|
|
||||||
|
|
||||||
* provider: Default value for `proxy.from_env` is now `true`, and relies upon [`httpproxy.FromEnvironment`](https://pkg.go.dev/golang.org/x/net/http/httpproxy#FromEnvironment) ([#224](https://github.com/hashicorp/terraform-provider-tls/pull/224)).
|
|
||||||
|
|
||||||
## 3.4.0 (May 16, 2022)
|
|
||||||
|
|
||||||
NEW FEATURES:
|
|
||||||
|
|
||||||
* data-source/tls_certificate: New attribute `content` that can be used in alternative to `url`, to provide the certificate in PEM format ([#189](https://github.com/hashicorp/terraform-provider-tls/pull/189)).
|
|
||||||
* data-source/tls_certificate: Objects in the `certificates` chain attribute expose a new attribute `cert_pem` (PEM format) ([#208](https://github.com/hashicorp/terraform-provider-tls/pull/208)).
|
|
||||||
|
|
||||||
* resource/tls_self_signed_cert: New attribute `set_authority_key_id` to make the generated certificate include an [authority key identifier](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.1) ([#212](https://github.com/hashicorp/terraform-provider-tls/pull/212)).
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: If CA provided via `ca_cert_pem` is not an actual CA, a warning will be raised, but the certificate will still be created ([#209](https://github.com/hashicorp/terraform-provider-tls/pull/209)).
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* data-source/tls_certificate: The `id` attribute has changed to the hashing of all certificates information in the chain. The first apply of this updated data source may show this difference ([#189](https://github.com/hashicorp/terraform-provider-tls/pull/189)).
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* data-source/tls_certificate: Prevent plan differences with the `id` attribute ([#79](https://github.com/hashicorp/terraform-provider-tls/issues/79), [#189](https://github.com/hashicorp/terraform-provider-tls/pull/189)).
|
|
||||||
|
|
||||||
* resource/tls_cert_request: Allow for absent or empty `subject` block ([#209](https://github.com/hashicorp/terraform-provider-tls/pull/209)).
|
|
||||||
|
|
||||||
* resource/tls_self_signed_cert: Allow for absent or empty `subject` block ([#209](https://github.com/hashicorp/terraform-provider-tls/pull/209)).
|
|
||||||
|
|
||||||
## 3.3.0 (April 07, 2022)
|
|
||||||
|
|
||||||
NEW FEATURES:
|
|
||||||
|
|
||||||
* provider: Added (opt-in) HTTP `proxy` configuration ([#179](https://github.com/hashicorp/terraform-provider-tls/pull/179)).
|
|
||||||
|
|
||||||
* data-source/tls_certificate: Support for `tls://` scheme in `url` argument. When used, the provider will fetch certificates via a direct Secure Socket (i.e. ignores proxy) ([#179](https://github.com/hashicorp/terraform-provider-tls/pull/179)).
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* data-source/tls_certificate: When `proxy` is configured on provider, certificates fetched via `url` with scheme `https://` will go through the specified HTTP proxy ([#179](https://github.com/hashicorp/terraform-provider-tls/pull/179)).
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: Validate `allowed_uses` contains documented values, but raise warning instead of error when it does not ([#184](https://github.com/hashicorp/terraform-provider-tls/pull/184)).
|
|
||||||
|
|
||||||
## 3.2.1 (April 05, 2022)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: Fix issue preventing the generation of [subject key identifier](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.2) for private keys using ED25519 ([#182](https://github.com/hashicorp/terraform-provider-tls/pull/182)).
|
|
||||||
|
|
||||||
* resource/tls_self_signed_cert: Fix issue preventing the generation of [subject key identifier](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.2) for private keys using ED25519 ([#182](https://github.com/hashicorp/terraform-provider-tls/pull/182)).
|
|
||||||
|
|
||||||
## 3.2.0 (April 04, 2022)
|
|
||||||
|
|
||||||
NEW FEATURES:
|
|
||||||
|
|
||||||
* resource/tls_private_key: Added support for [ED25519](https://ed25519.cr.yp.to/) key algorithm ([#151](https://github.com/hashicorp/terraform-provider-tls/pull/151)).
|
|
||||||
|
|
||||||
* data-source/tls_public_key: Added support for [ED25519](https://ed25519.cr.yp.to/) key algorithm ([#160](https://github.com/hashicorp/terraform-provider-tls/pull/160)).
|
|
||||||
|
|
||||||
* resource/tls_cert_request: Added support for [ED25519](https://ed25519.cr.yp.to/) key algorithm ([#173](https://github.com/hashicorp/terraform-provider-tls/pull/173)).
|
|
||||||
|
|
||||||
* resource/tls_self_signed_cert: Added support for [ED25519](https://ed25519.cr.yp.to/) key algorithm ([#173](https://github.com/hashicorp/terraform-provider-tls/pull/173)).
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: Added support for [ED25519](https://ed25519.cr.yp.to/) key algorithm ([#173](https://github.com/hashicorp/terraform-provider-tls/pull/173)).
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* resource/tls_private_key: New attributes `private_key_openssh` (OpenSSH PEM format) and `public_key_fingerprint_sha256` ([#151](https://github.com/hashicorp/terraform-provider-tls/pull/151)).
|
|
||||||
|
|
||||||
* data-source/tls_public_key: Can now be configured by passing a private key either via `private_key_pem` or `private_key_openssh` ([#160](https://github.com/hashicorp/terraform-provider-tls/pull/160)).
|
|
||||||
|
|
||||||
* resource/tls_locally_signed_cert: Validate `validity_period_hours` and `early_renewal_hours` are greater or equal then zero ([#169](https://github.com/hashicorp/terraform-provider-tls/pull/169)).
|
|
||||||
* resource/tls_locally_signed_cert: Validate `allowed_uses` contains documented values, instead of silently ignoring unknowns ([#169](https://github.com/hashicorp/terraform-provider-tls/pull/169)).
|
|
||||||
* resource/tls_locally_signed_cert: `ca_key_algorithm` is now optional and deprecated, as it's now inferred from `ca_private_key_pem`. It will be read-only in the next major release ([#173](https://github.com/hashicorp/terraform-provider-tls/pull/173)).
|
|
||||||
|
|
||||||
* resource/tls_self_signed_cert: Validate `validity_period_hours` and `early_renewal_hours` are greater or equal then zero ([#169](https://github.com/hashicorp/terraform-provider-tls/pull/169)).
|
|
||||||
* resource/tls_self_signed_cert: Validate `allowed_uses` contains documented values, instead of silently ignoring unknowns ([#169](https://github.com/hashicorp/terraform-provider-tls/pull/169)).
|
|
||||||
* resource/tls_self_signed_cert: `key_algorithm` is now optional and deprecated, as it's now inferred from `private_key_pem`. It will be read-only in the next major release ([#173](https://github.com/hashicorp/terraform-provider-tls/pull/173)).
|
|
||||||
|
|
||||||
* resource/tls_cert_request: `key_algorithm` is now optional and deprecated, as it's now inferred from `private_key_pem`. It will be read-only in the next major release ([#173](https://github.com/hashicorp/terraform-provider-tls/pull/173)).
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Upgraded to Golang 1.17 ([#156](https://github.com/hashicorp/terraform-provider-tls/pull/156))
|
|
||||||
* Adopted [`golangci-lint`](https://golangci-lint.run/) as part of CI ([#155](https://github.com/hashicorp/terraform-provider-tls/pull/155))
|
|
||||||
* Acceptance tests now run against all minor versions of Terraform >= 0.12 ([#153](https://github.com/hashicorp/terraform-provider-tls/pull/153))
|
|
||||||
|
|
||||||
## 3.1.0 (February 19, 2021)
|
|
||||||
|
|
||||||
Binary releases of this provider now include the darwin-arm64 platform. This version contains no further changes.
|
|
||||||
|
|
||||||
## 3.0.0 (October 14, 2020)
|
|
||||||
|
|
||||||
Binary releases of this provider will now include the linux-arm64 platform.
|
|
||||||
|
|
||||||
BREAKING CHANGES:
|
|
||||||
|
|
||||||
* Upgrade to version 2 of the Terraform Plugin SDK, which drops support for Terraform 0.11. This provider will continue to work as expected for users of Terraform 0.11, which will not download the new version. ([#83](https://github.com/terraform-providers/terraform-provider-tls/issues/83))
|
|
||||||
|
|
||||||
## 2.2.0 (July 24, 2020)
|
|
||||||
|
|
||||||
NEW FEATURES:
|
|
||||||
|
|
||||||
* Add `tls_certificate` data source ([#62](https://github.com/terraform-providers/terraform-provider-tls/issues/62))
|
|
||||||
|
|
||||||
## 2.1.1 (September 25, 2019)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* The provider has switched to the standalone TF SDK, there should be no noticeable impact on compatibility. ([#54](https://github.com/terraform-providers/terraform-provider-tls/issues/54))
|
|
||||||
|
|
||||||
## 2.1.0 (August 16, 2019)
|
|
||||||
|
|
||||||
ENHANCEMENTS:
|
|
||||||
|
|
||||||
* Certificate renewal is now handled as a "replace" action in the plan, rather than by behaving as if the expired certificate had been deleted. Although the effective behavior remains unchanged, renewal will now appear as a `-/+` action in the plan, rather than just as a `+`. ([#34](https://github.com/terraform-providers/terraform-provider-tls/issues/34))
|
|
||||||
* Certificates can now have URIs as subject alternative names. ([#50](https://github.com/terraform-providers/terraform-provider-tls/issues/50))
|
|
||||||
* Certificates can now optionally have the Subject Key ID field populated. ([#31](https://github.com/terraform-providers/terraform-provider-tls/issues/31))
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* More of the private key arguments are now marked as "sensitive" so that Terraform will know to hide their values when showing plans and state in response to various commands. ([#48](https://github.com/terraform-providers/terraform-provider-tls/issues/48))
|
|
||||||
* In `tls_public_key`, don't panic if the PEM isn't valid PEM syntax at all. ([#40](https://github.com/terraform-providers/terraform-provider-tls/issues/40))
|
|
||||||
|
|
||||||
## 2.0.1 (April 30, 2019)
|
|
||||||
|
|
||||||
* This release includes an upgraded Terraform SDK, for the sake of aligning versions of the SDK amongst released providers, as we lead up to Core v0.12. This should have no noticeable impact on the provider.
|
|
||||||
|
|
||||||
## 2.0.0 (April 17, 2019)
|
|
||||||
|
|
||||||
IMPROVEMENTS:
|
|
||||||
|
|
||||||
* The provider is now compatible with Terraform v0.12, while retaining compatibility with prior versions.
|
|
||||||
|
|
||||||
## 1.2.0 (August 15, 2018)
|
|
||||||
|
|
||||||
FEATURES:
|
|
||||||
|
|
||||||
* `tls_private_key` (both datasource and resource) include MD5 public key fingerprints as read-only attributes.
|
|
||||||
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
* `tls_cert_request` and `tls_self_signed_cert`: changes to `subject` now
|
|
||||||
correctly force the recreation of the resource, instead of returning an error
|
|
||||||
([#18](https://github.com/terraform-providers/terraform-provider-tls/issues/18))
|
|
||||||
|
|
||||||
## 1.1.0 (March 09, 2018)
|
|
||||||
|
|
||||||
FEATURES:
|
|
||||||
|
|
||||||
* **New Data Source:** `tls_public_key`
|
|
||||||
([#11](https://github.com/terraform-providers/terraform-provider-tls/issues/11))
|
|
||||||
|
|
||||||
## 1.0.1 (November 09, 2017)
|
|
||||||
|
|
||||||
BUG FIXES:
|
|
||||||
|
|
||||||
* `tls_cert_request` and `tls_self_signed_cert` no longer cause a crash when
|
|
||||||
`subject` isn't specified.
|
|
||||||
([#7](https://github.com/terraform-providers/terraform-provider-tls/issues/7))
|
|
||||||
* `tls_cert_request` and `tls_self_signed_cert` no longer generate empty-string
|
|
||||||
values for various subject fields when they are not set in configuration.
|
|
||||||
([#10](https://github.com/terraform-providers/terraform-provider-tls/issues/10))
|
|
||||||
|
|
||||||
## 1.0.0 (September 15, 2017)
|
|
||||||
|
|
||||||
* No changes from 0.1.0; just adjusting to [the new version numbering
|
|
||||||
scheme](https://www.hashicorp.com/blog/hashicorp-terraform-provider-versioning/).
|
|
||||||
|
|
||||||
## 0.1.0 (June 21, 2017)
|
|
||||||
|
|
||||||
NOTES:
|
|
||||||
|
|
||||||
* Same functionality as that of Terraform 0.9.8. Repacked as part of [Provider
|
|
||||||
Splitout](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/)
|
|
||||||
-375
@@ -1,375 +0,0 @@
|
|||||||
Copyright IBM Corp. 2017, 2026
|
|
||||||
|
|
||||||
Mozilla Public License Version 2.0
|
|
||||||
==================================
|
|
||||||
|
|
||||||
1. Definitions
|
|
||||||
--------------
|
|
||||||
|
|
||||||
1.1. "Contributor"
|
|
||||||
means each individual or legal entity that creates, contributes to
|
|
||||||
the creation of, or owns Covered Software.
|
|
||||||
|
|
||||||
1.2. "Contributor Version"
|
|
||||||
means the combination of the Contributions of others (if any) used
|
|
||||||
by a Contributor and that particular Contributor's Contribution.
|
|
||||||
|
|
||||||
1.3. "Contribution"
|
|
||||||
means Covered Software of a particular Contributor.
|
|
||||||
|
|
||||||
1.4. "Covered Software"
|
|
||||||
means Source Code Form to which the initial Contributor has attached
|
|
||||||
the notice in Exhibit A, the Executable Form of such Source Code
|
|
||||||
Form, and Modifications of such Source Code Form, in each case
|
|
||||||
including portions thereof.
|
|
||||||
|
|
||||||
1.5. "Incompatible With Secondary Licenses"
|
|
||||||
means
|
|
||||||
|
|
||||||
(a) that the initial Contributor has attached the notice described
|
|
||||||
in Exhibit B to the Covered Software; or
|
|
||||||
|
|
||||||
(b) that the Covered Software was made available under the terms of
|
|
||||||
version 1.1 or earlier of the License, but not also under the
|
|
||||||
terms of a Secondary License.
|
|
||||||
|
|
||||||
1.6. "Executable Form"
|
|
||||||
means any form of the work other than Source Code Form.
|
|
||||||
|
|
||||||
1.7. "Larger Work"
|
|
||||||
means a work that combines Covered Software with other material, in
|
|
||||||
a separate file or files, that is not Covered Software.
|
|
||||||
|
|
||||||
1.8. "License"
|
|
||||||
means this document.
|
|
||||||
|
|
||||||
1.9. "Licensable"
|
|
||||||
means having the right to grant, to the maximum extent possible,
|
|
||||||
whether at the time of the initial grant or subsequently, any and
|
|
||||||
all of the rights conveyed by this License.
|
|
||||||
|
|
||||||
1.10. "Modifications"
|
|
||||||
means any of the following:
|
|
||||||
|
|
||||||
(a) any file in Source Code Form that results from an addition to,
|
|
||||||
deletion from, or modification of the contents of Covered
|
|
||||||
Software; or
|
|
||||||
|
|
||||||
(b) any new file in Source Code Form that contains any Covered
|
|
||||||
Software.
|
|
||||||
|
|
||||||
1.11. "Patent Claims" of a Contributor
|
|
||||||
means any patent claim(s), including without limitation, method,
|
|
||||||
process, and apparatus claims, in any patent Licensable by such
|
|
||||||
Contributor that would be infringed, but for the grant of the
|
|
||||||
License, by the making, using, selling, offering for sale, having
|
|
||||||
made, import, or transfer of either its Contributions or its
|
|
||||||
Contributor Version.
|
|
||||||
|
|
||||||
1.12. "Secondary License"
|
|
||||||
means either the GNU General Public License, Version 2.0, the GNU
|
|
||||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
||||||
Public License, Version 3.0, or any later versions of those
|
|
||||||
licenses.
|
|
||||||
|
|
||||||
1.13. "Source Code Form"
|
|
||||||
means the form of the work preferred for making modifications.
|
|
||||||
|
|
||||||
1.14. "You" (or "Your")
|
|
||||||
means an individual or a legal entity exercising rights under this
|
|
||||||
License. For legal entities, "You" includes any entity that
|
|
||||||
controls, is controlled by, or is under common control with You. For
|
|
||||||
purposes of this definition, "control" means (a) the power, direct
|
|
||||||
or indirect, to cause the direction or management of such entity,
|
|
||||||
whether by contract or otherwise, or (b) ownership of more than
|
|
||||||
fifty percent (50%) of the outstanding shares or beneficial
|
|
||||||
ownership of such entity.
|
|
||||||
|
|
||||||
2. License Grants and Conditions
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
2.1. Grants
|
|
||||||
|
|
||||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
||||||
non-exclusive license:
|
|
||||||
|
|
||||||
(a) under intellectual property rights (other than patent or trademark)
|
|
||||||
Licensable by such Contributor to use, reproduce, make available,
|
|
||||||
modify, display, perform, distribute, and otherwise exploit its
|
|
||||||
Contributions, either on an unmodified basis, with Modifications, or
|
|
||||||
as part of a Larger Work; and
|
|
||||||
|
|
||||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
||||||
for sale, have made, import, and otherwise transfer either its
|
|
||||||
Contributions or its Contributor Version.
|
|
||||||
|
|
||||||
2.2. Effective Date
|
|
||||||
|
|
||||||
The licenses granted in Section 2.1 with respect to any Contribution
|
|
||||||
become effective for each Contribution on the date the Contributor first
|
|
||||||
distributes such Contribution.
|
|
||||||
|
|
||||||
2.3. Limitations on Grant Scope
|
|
||||||
|
|
||||||
The licenses granted in this Section 2 are the only rights granted under
|
|
||||||
this License. No additional rights or licenses will be implied from the
|
|
||||||
distribution or licensing of Covered Software under this License.
|
|
||||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
|
||||||
Contributor:
|
|
||||||
|
|
||||||
(a) for any code that a Contributor has removed from Covered Software;
|
|
||||||
or
|
|
||||||
|
|
||||||
(b) for infringements caused by: (i) Your and any other third party's
|
|
||||||
modifications of Covered Software, or (ii) the combination of its
|
|
||||||
Contributions with other software (except as part of its Contributor
|
|
||||||
Version); or
|
|
||||||
|
|
||||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
|
||||||
its Contributions.
|
|
||||||
|
|
||||||
This License does not grant any rights in the trademarks, service marks,
|
|
||||||
or logos of any Contributor (except as may be necessary to comply with
|
|
||||||
the notice requirements in Section 3.4).
|
|
||||||
|
|
||||||
2.4. Subsequent Licenses
|
|
||||||
|
|
||||||
No Contributor makes additional grants as a result of Your choice to
|
|
||||||
distribute the Covered Software under a subsequent version of this
|
|
||||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
|
||||||
permitted under the terms of Section 3.3).
|
|
||||||
|
|
||||||
2.5. Representation
|
|
||||||
|
|
||||||
Each Contributor represents that the Contributor believes its
|
|
||||||
Contributions are its original creation(s) or it has sufficient rights
|
|
||||||
to grant the rights to its Contributions conveyed by this License.
|
|
||||||
|
|
||||||
2.6. Fair Use
|
|
||||||
|
|
||||||
This License is not intended to limit any rights You have under
|
|
||||||
applicable copyright doctrines of fair use, fair dealing, or other
|
|
||||||
equivalents.
|
|
||||||
|
|
||||||
2.7. Conditions
|
|
||||||
|
|
||||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
||||||
in Section 2.1.
|
|
||||||
|
|
||||||
3. Responsibilities
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
3.1. Distribution of Source Form
|
|
||||||
|
|
||||||
All distribution of Covered Software in Source Code Form, including any
|
|
||||||
Modifications that You create or to which You contribute, must be under
|
|
||||||
the terms of this License. You must inform recipients that the Source
|
|
||||||
Code Form of the Covered Software is governed by the terms of this
|
|
||||||
License, and how they can obtain a copy of this License. You may not
|
|
||||||
attempt to alter or restrict the recipients' rights in the Source Code
|
|
||||||
Form.
|
|
||||||
|
|
||||||
3.2. Distribution of Executable Form
|
|
||||||
|
|
||||||
If You distribute Covered Software in Executable Form then:
|
|
||||||
|
|
||||||
(a) such Covered Software must also be made available in Source Code
|
|
||||||
Form, as described in Section 3.1, and You must inform recipients of
|
|
||||||
the Executable Form how they can obtain a copy of such Source Code
|
|
||||||
Form by reasonable means in a timely manner, at a charge no more
|
|
||||||
than the cost of distribution to the recipient; and
|
|
||||||
|
|
||||||
(b) You may distribute such Executable Form under the terms of this
|
|
||||||
License, or sublicense it under different terms, provided that the
|
|
||||||
license for the Executable Form does not attempt to limit or alter
|
|
||||||
the recipients' rights in the Source Code Form under this License.
|
|
||||||
|
|
||||||
3.3. Distribution of a Larger Work
|
|
||||||
|
|
||||||
You may create and distribute a Larger Work under terms of Your choice,
|
|
||||||
provided that You also comply with the requirements of this License for
|
|
||||||
the Covered Software. If the Larger Work is a combination of Covered
|
|
||||||
Software with a work governed by one or more Secondary Licenses, and the
|
|
||||||
Covered Software is not Incompatible With Secondary Licenses, this
|
|
||||||
License permits You to additionally distribute such Covered Software
|
|
||||||
under the terms of such Secondary License(s), so that the recipient of
|
|
||||||
the Larger Work may, at their option, further distribute the Covered
|
|
||||||
Software under the terms of either this License or such Secondary
|
|
||||||
License(s).
|
|
||||||
|
|
||||||
3.4. Notices
|
|
||||||
|
|
||||||
You may not remove or alter the substance of any license notices
|
|
||||||
(including copyright notices, patent notices, disclaimers of warranty,
|
|
||||||
or limitations of liability) contained within the Source Code Form of
|
|
||||||
the Covered Software, except that You may alter any license notices to
|
|
||||||
the extent required to remedy known factual inaccuracies.
|
|
||||||
|
|
||||||
3.5. Application of Additional Terms
|
|
||||||
|
|
||||||
You may choose to offer, and to charge a fee for, warranty, support,
|
|
||||||
indemnity or liability obligations to one or more recipients of Covered
|
|
||||||
Software. However, You may do so only on Your own behalf, and not on
|
|
||||||
behalf of any Contributor. You must make it absolutely clear that any
|
|
||||||
such warranty, support, indemnity, or liability obligation is offered by
|
|
||||||
You alone, and You hereby agree to indemnify every Contributor for any
|
|
||||||
liability incurred by such Contributor as a result of warranty, support,
|
|
||||||
indemnity or liability terms You offer. You may include additional
|
|
||||||
disclaimers of warranty and limitations of liability specific to any
|
|
||||||
jurisdiction.
|
|
||||||
|
|
||||||
4. Inability to Comply Due to Statute or Regulation
|
|
||||||
---------------------------------------------------
|
|
||||||
|
|
||||||
If it is impossible for You to comply with any of the terms of this
|
|
||||||
License with respect to some or all of the Covered Software due to
|
|
||||||
statute, judicial order, or regulation then You must: (a) comply with
|
|
||||||
the terms of this License to the maximum extent possible; and (b)
|
|
||||||
describe the limitations and the code they affect. Such description must
|
|
||||||
be placed in a text file included with all distributions of the Covered
|
|
||||||
Software under this License. Except to the extent prohibited by statute
|
|
||||||
or regulation, such description must be sufficiently detailed for a
|
|
||||||
recipient of ordinary skill to be able to understand it.
|
|
||||||
|
|
||||||
5. Termination
|
|
||||||
--------------
|
|
||||||
|
|
||||||
5.1. The rights granted under this License will terminate automatically
|
|
||||||
if You fail to comply with any of its terms. However, if You become
|
|
||||||
compliant, then the rights granted under this License from a particular
|
|
||||||
Contributor are reinstated (a) provisionally, unless and until such
|
|
||||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
||||||
ongoing basis, if such Contributor fails to notify You of the
|
|
||||||
non-compliance by some reasonable means prior to 60 days after You have
|
|
||||||
come back into compliance. Moreover, Your grants from a particular
|
|
||||||
Contributor are reinstated on an ongoing basis if such Contributor
|
|
||||||
notifies You of the non-compliance by some reasonable means, this is the
|
|
||||||
first time You have received notice of non-compliance with this License
|
|
||||||
from such Contributor, and You become compliant prior to 30 days after
|
|
||||||
Your receipt of the notice.
|
|
||||||
|
|
||||||
5.2. If You initiate litigation against any entity by asserting a patent
|
|
||||||
infringement claim (excluding declaratory judgment actions,
|
|
||||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
||||||
directly or indirectly infringes any patent, then the rights granted to
|
|
||||||
You by any and all Contributors for the Covered Software under Section
|
|
||||||
2.1 of this License shall terminate.
|
|
||||||
|
|
||||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
||||||
end user license agreements (excluding distributors and resellers) which
|
|
||||||
have been validly granted by You or Your distributors under this License
|
|
||||||
prior to termination shall survive termination.
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 6. Disclaimer of Warranty *
|
|
||||||
* ------------------------- *
|
|
||||||
* *
|
|
||||||
* Covered Software is provided under this License on an "as is" *
|
|
||||||
* basis, without warranty of any kind, either expressed, implied, or *
|
|
||||||
* statutory, including, without limitation, warranties that the *
|
|
||||||
* Covered Software is free of defects, merchantable, fit for a *
|
|
||||||
* particular purpose or non-infringing. The entire risk as to the *
|
|
||||||
* quality and performance of the Covered Software is with You. *
|
|
||||||
* Should any Covered Software prove defective in any respect, You *
|
|
||||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
|
||||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
|
||||||
* essential part of this License. No use of any Covered Software is *
|
|
||||||
* authorized under this License except under this disclaimer. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 7. Limitation of Liability *
|
|
||||||
* -------------------------- *
|
|
||||||
* *
|
|
||||||
* Under no circumstances and under no legal theory, whether tort *
|
|
||||||
* (including negligence), contract, or otherwise, shall any *
|
|
||||||
* Contributor, or anyone who distributes Covered Software as *
|
|
||||||
* permitted above, be liable to You for any direct, indirect, *
|
|
||||||
* special, incidental, or consequential damages of any character *
|
|
||||||
* including, without limitation, damages for lost profits, loss of *
|
|
||||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
|
||||||
* and all other commercial damages or losses, even if such party *
|
|
||||||
* shall have been informed of the possibility of such damages. This *
|
|
||||||
* limitation of liability shall not apply to liability for death or *
|
|
||||||
* personal injury resulting from such party's negligence to the *
|
|
||||||
* extent applicable law prohibits such limitation. Some *
|
|
||||||
* jurisdictions do not allow the exclusion or limitation of *
|
|
||||||
* incidental or consequential damages, so this exclusion and *
|
|
||||||
* limitation may not apply to You. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
8. Litigation
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Any litigation relating to this License may be brought only in the
|
|
||||||
courts of a jurisdiction where the defendant maintains its principal
|
|
||||||
place of business and such litigation shall be governed by laws of that
|
|
||||||
jurisdiction, without reference to its conflict-of-law provisions.
|
|
||||||
Nothing in this Section shall prevent a party's ability to bring
|
|
||||||
cross-claims or counter-claims.
|
|
||||||
|
|
||||||
9. Miscellaneous
|
|
||||||
----------------
|
|
||||||
|
|
||||||
This License represents the complete agreement concerning the subject
|
|
||||||
matter hereof. If any provision of this License is held to be
|
|
||||||
unenforceable, such provision shall be reformed only to the extent
|
|
||||||
necessary to make it enforceable. Any law or regulation which provides
|
|
||||||
that the language of a contract shall be construed against the drafter
|
|
||||||
shall not be used to construe this License against a Contributor.
|
|
||||||
|
|
||||||
10. Versions of the License
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
10.1. New Versions
|
|
||||||
|
|
||||||
Mozilla Foundation is the license steward. Except as provided in Section
|
|
||||||
10.3, no one other than the license steward has the right to modify or
|
|
||||||
publish new versions of this License. Each version will be given a
|
|
||||||
distinguishing version number.
|
|
||||||
|
|
||||||
10.2. Effect of New Versions
|
|
||||||
|
|
||||||
You may distribute the Covered Software under the terms of the version
|
|
||||||
of the License under which You originally received the Covered Software,
|
|
||||||
or under the terms of any subsequent version published by the license
|
|
||||||
steward.
|
|
||||||
|
|
||||||
10.3. Modified Versions
|
|
||||||
|
|
||||||
If you create software not governed by this License, and you want to
|
|
||||||
create a new license for such software, you may create and use a
|
|
||||||
modified version of this License if you rename the license and remove
|
|
||||||
any references to the name of the license steward (except to note that
|
|
||||||
such modified license differs from this License).
|
|
||||||
|
|
||||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
|
||||||
Licenses
|
|
||||||
|
|
||||||
If You choose to distribute Source Code Form that is Incompatible With
|
|
||||||
Secondary Licenses under the terms of this version of the License, the
|
|
||||||
notice described in Exhibit B of this License must be attached.
|
|
||||||
|
|
||||||
Exhibit A - Source Code Form License Notice
|
|
||||||
-------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
If it is not possible or desirable to put the notice in a particular
|
|
||||||
file, then You may include the notice in a location (such as a LICENSE
|
|
||||||
file in a relevant directory) where a recipient would be likely to look
|
|
||||||
for such a notice.
|
|
||||||
|
|
||||||
You may add additional accurate notices of copyright ownership.
|
|
||||||
|
|
||||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
||||||
---------------------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
||||||
defined by the Mozilla Public License, v. 2.0.
|
|
||||||
-121
@@ -1,121 +0,0 @@
|
|||||||
# Terraform Provider: TLS
|
|
||||||
|
|
||||||
The TLS provider provides utilities for working with *Transport Layer Security*
|
|
||||||
keys and certificates. It provides resources that
|
|
||||||
allow private keys, certificates and certificate requests to be
|
|
||||||
created as part of a Terraform deployment.
|
|
||||||
|
|
||||||
## Documentation, questions and discussions
|
|
||||||
|
|
||||||
Official documentation on how to use this provider can be found on the
|
|
||||||
[Terraform Registry](https://registry.terraform.io/providers/hashicorp/tls/latest/docs).
|
|
||||||
In case of specific questions or discussions, please use the
|
|
||||||
HashiCorp [Terraform Providers Discuss forums](https://discuss.hashicorp.com/c/terraform-providers/31),
|
|
||||||
in accordance with HashiCorp [Community Guidelines](https://www.hashicorp.com/community-guidelines).
|
|
||||||
|
|
||||||
We also provide:
|
|
||||||
|
|
||||||
* [Support](.github/SUPPORT.md) page for help when using the provider
|
|
||||||
* [Contributing](.github/CONTRIBUTING.md) guidelines in case you want to help this project
|
|
||||||
* [Design](DESIGN.md) documentation to understand the scope and maintenance decisions
|
|
||||||
|
|
||||||
The remainder of this document will focus on the development aspects of the provider.
|
|
||||||
|
|
||||||
## Compatibility
|
|
||||||
|
|
||||||
Compatibility table between this provider, the [Terraform Plugin Protocol](https://www.terraform.io/plugin/how-terraform-works#terraform-plugin-protocol)
|
|
||||||
version it implements, and Terraform:
|
|
||||||
|
|
||||||
| TLS Provider | Terraform Plugin Protocol | Terraform |
|
|
||||||
|:------------:|:-------------------------:|:---------:|
|
|
||||||
| `>= 4.x` | `5` | `>= 0.12` |
|
|
||||||
| `>= 3.x` | `5` | `>= 0.12` |
|
|
||||||
| `>= 2.x` | `4` and `5` | `<= 0.12` |
|
|
||||||
| `>= 0.x` | `4` | `<= 0.11` |
|
|
||||||
|
|
||||||
Details can be found querying the [Registry API](https://www.terraform.io/internals/provider-registry-protocol#list-available-versions)
|
|
||||||
that return all the details about which version are currently available for a particular provider.
|
|
||||||
[Here](https://registry.terraform.io/v1/providers/hashicorp/tls/versions) are the details for TLS (JSON response).
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
* [Terraform](https://www.terraform.io/downloads)
|
|
||||||
* [Go](https://go.dev/doc/install) (1.26)
|
|
||||||
* [GNU Make](https://www.gnu.org/software/make/)
|
|
||||||
* [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional)
|
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
### Building
|
|
||||||
|
|
||||||
1. `git clone` this repository and `cd` into its directory
|
|
||||||
2. `make` will trigger the Golang build
|
|
||||||
|
|
||||||
The provided `GNUmakefile` defines additional commands generally useful during development,
|
|
||||||
like for running tests, generating documentation, code formatting and linting.
|
|
||||||
Taking a look at it's content is recommended.
|
|
||||||
|
|
||||||
### Testing
|
|
||||||
|
|
||||||
In order to test the provider, you can run
|
|
||||||
|
|
||||||
* `make test` to run provider tests
|
|
||||||
* `make testacc` to run provider acceptance tests
|
|
||||||
|
|
||||||
It's important to note that acceptance tests (`testacc`) will actually spawn
|
|
||||||
`terraform` and the provider. Read more about they work on the
|
|
||||||
[official page](https://www.terraform.io/plugin/sdkv2/testing/acceptance-tests).
|
|
||||||
|
|
||||||
### Generating documentation
|
|
||||||
|
|
||||||
This provider uses [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs/)
|
|
||||||
to generate documentation and store it in the `docs/` directory.
|
|
||||||
Once a release is cut, the Terraform Registry will download the documentation from `docs/`
|
|
||||||
and associate it with the release version. Read more about how this works on the
|
|
||||||
[official page](https://www.terraform.io/registry/providers/docs).
|
|
||||||
|
|
||||||
Use `make generate` to ensure the documentation is regenerated with any changes.
|
|
||||||
|
|
||||||
### Using a development build
|
|
||||||
|
|
||||||
If [running tests and acceptance tests](#testing) isn't enough, it's possible to set up a local terraform configuration
|
|
||||||
to use a development builds of the provider. This can be achieved by leveraging the Terraform CLI
|
|
||||||
[configuration file development overrides](https://www.terraform.io/cli/config/config-file#development-overrides-for-provider-developers).
|
|
||||||
|
|
||||||
First, use `make install` to place a fresh development build of the provider in your
|
|
||||||
[`${GOBIN}`](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies)
|
|
||||||
(defaults to `${GOPATH}/bin` or `${HOME}/go/bin` if `${GOPATH}` is not set). Repeat
|
|
||||||
this every time you make changes to the provider locally.
|
|
||||||
|
|
||||||
Then, setup your environment following [these instructions](https://www.terraform.io/plugin/debugging#terraform-cli-development-overrides)
|
|
||||||
to make your local terraform use your local build.
|
|
||||||
|
|
||||||
### Testing GitHub Actions
|
|
||||||
|
|
||||||
This project uses [GitHub Actions](https://docs.github.com/en/actions/automating-builds-and-tests) to realize its CI.
|
|
||||||
|
|
||||||
Sometimes it might be helpful to locally reproduce the behaviour of those actions,
|
|
||||||
and for this we use [act](https://github.com/nektos/act). Once installed, you can _simulate_ the actions executed
|
|
||||||
when opening a PR with:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
# List of workflows for the 'pull_request' action
|
|
||||||
$ act -l pull_request
|
|
||||||
|
|
||||||
# Execute the workflows associated with the `pull_request' action
|
|
||||||
$ act pull_request
|
|
||||||
```
|
|
||||||
|
|
||||||
## Releasing
|
|
||||||
|
|
||||||
The releasable builds are generated from the [build GH workflow](./.github/workflows/build.yml) and the release/promotion process
|
|
||||||
is completed via internal HashiCorp deployment tooling. Prior to release, the changelog should be updated in `main` with
|
|
||||||
the changie tool, example:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
changie batch 4.1.0 && changie merge
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
[Mozilla Public License v2.0](./LICENSE)
|
|
||||||
Reference in New Issue
Block a user