From 8682107cdcf95bfb6caef1f3c4569986ef33e1df Mon Sep 17 00:00:00 2001 From: suzuki-shunsuke Date: Wed, 16 Oct 2024 11:16:45 +0000 Subject: [PATCH] deploy: suzuki-shunsuke/tfaction-docs@a13c9b16f449928d2ff9e2fef372f617dac9076c --- docs/404.html | 2 +- docs/assets/js/427afbfa.45a9539b.js | 1 - docs/assets/js/427afbfa.ea3409f7.js | 1 + ...n.d162defe.js => runtime~main.33f550ec.js} | 2 +- docs/config/add-working-directory/index.html | 2 +- docs/config/aqua/index.html | 2 +- docs/config/github-token/index.html | 2 +- docs/config/index.html | 2 +- docs/config/pull_request_target/index.html | 2 +- docs/config/secret/index.html | 2 +- docs/config/setup/index.html | 2 +- docs/config/terraform-cli-options/index.html | 2 +- docs/config/tfaction-root-yaml/index.html | 2 +- docs/config/tfaction-yaml/index.html | 2 +- docs/config/tfprovidercheck/index.html | 2 +- docs/feature/auto-fix/index.html | 2 +- .../auto-update-related-prs/index.html | 2 +- docs/feature/build-matrix/index.html | 2 +- docs/feature/conftest/index.html | 30 ++++++++++++++++--- docs/feature/destroy/index.html | 2 +- docs/feature/drift-detection/index.html | 2 +- docs/feature/follow-up-pr/index.html | 2 +- docs/feature/generate-config-out/index.html | 2 +- docs/feature/linter/index.html | 2 +- docs/feature/local-path-module/index.html | 2 +- docs/feature/module/index.html | 2 +- docs/feature/plan-file/index.html | 2 +- docs/feature/renovate/index.html | 2 +- docs/feature/scaffold-working-dir/index.html | 2 +- docs/feature/skip-creating-pr/index.html | 2 +- .../index.html | 2 +- docs/feature/terraform-docs/index.html | 2 +- docs/feature/tfcmt/index.html | 2 +- docs/feature/tfmigrate/index.html | 2 +- .../use-terraform-compatible-tool/index.html | 2 +- docs/index.html | 2 +- docs/search/index.html | 2 +- 37 files changed, 61 insertions(+), 39 deletions(-) delete mode 100644 docs/assets/js/427afbfa.45a9539b.js create mode 100644 docs/assets/js/427afbfa.ea3409f7.js rename docs/assets/js/{runtime~main.d162defe.js => runtime~main.33f550ec.js} (98%) diff --git a/docs/404.html b/docs/404.html index 4ff1c56fa..0da38e836 100644 --- a/docs/404.html +++ b/docs/404.html @@ -4,7 +4,7 @@ tfaction - + diff --git a/docs/assets/js/427afbfa.45a9539b.js b/docs/assets/js/427afbfa.45a9539b.js deleted file mode 100644 index 51dd343ff..000000000 --- a/docs/assets/js/427afbfa.45a9539b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunktfaction=self.webpackChunktfaction||[]).push([[110],{7756:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>r,contentTitle:()=>c,default:()=>p,frontMatter:()=>o,metadata:()=>l,toc:()=>a});var i=t(4848),s=t(8453);const o={sidebar_position:600},c="Conftest",l={id:"feature/conftest",title:"Conftest",description:"Conftest support was improved at tfaction v1.8.0.",source:"@site/docs/feature/conftest.md",sourceDirName:"feature",slug:"/feature/conftest",permalink:"/tfaction/docs/feature/conftest",draft:!1,unlisted:!1,editUrl:"https://github.com/suzuki-shunsuke/tfaction-docs/edit/main/docs/feature/conftest.md",tags:[],version:"current",sidebarPosition:600,frontMatter:{sidebar_position:600},sidebar:"tutorialSidebar",previous:{title:"Manage Terraform Modules",permalink:"/tfaction/docs/feature/module"},next:{title:"Support skipping terraform plan and terraform apply in case of pull request by Renovate",permalink:"/tfaction/docs/feature/support-skipping-terraform-renovate-pr"}},r={},a=[{value:"Settings",id:"settings",level:2},{value:"conftest_policy_directory",id:"conftest_policy_directory",level:3},{value:"conftest",id:"conftest-1",level:3},{value:"Example",id:"example",level:2}];function d(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"conftest",children:"Conftest"})}),"\n",(0,i.jsx)(n.admonition,{type:"info",children:(0,i.jsxs)(n.p,{children:["Conftest support was improved at tfaction ",(0,i.jsx)(n.a,{href:"https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.8.0",children:"v1.8.0"}),"."]})}),"\n",(0,i.jsxs)(n.p,{children:["About Conftest, please see ",(0,i.jsx)(n.a,{href:"https://www.conftest.dev/",children:"https://www.conftest.dev/"})," ."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://www.openpolicyagent.org/docs/latest/terraform/",children:"https://www.openpolicyagent.org/docs/latest/terraform/"})}),"\n",(0,i.jsx)(n.p,{children:"tfaction supports validating files using Conftest.\nAny violation is notified as pull request comment."}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://user-images.githubusercontent.com/13323303/150035710-249c4cbd-47fa-46d7-ae0d-28ab4ace1a64.png",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"tfaction doesn't provide any Conftest Policy. Please write your Conftest Policy freely."}),"\n",(0,i.jsx)(n.p,{children:"We recommend writing the document about Conftest Policy per policy."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"policy/\n github_issue_label_description.rego # Policy\n github_issue_label_description_test.rego # Policy Test\n github_issue_label_description.md # Policy Document\n"})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://user-images.githubusercontent.com/13323303/150035773-1702fba7-5058-412f-b41c-f69793237dd7.png",alt:"image"})}),"\n",(0,i.jsx)(n.h2,{id:"settings",children:"Settings"}),"\n",(0,i.jsxs)(n.p,{children:["By default, tfaction runs Conftest if the directory ",(0,i.jsx)(n.code,{children:"policy"})," exists in the repository root directory."]}),"\n",(0,i.jsx)(n.h3,{id:"conftest_policy_directory",children:"conftest_policy_directory"}),"\n",(0,i.jsxs)(n.p,{children:["tfaction >= ",(0,i.jsx)(n.a,{href:"https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.1.0",children:"v1.1.0"}),":"]}),"\n",(0,i.jsxs)(n.p,{children:["You can change the directory by the setting ",(0,i.jsx)(n.code,{children:"conftest_policy_directory"})," in ",(0,i.jsx)(n.code,{children:"tfaction-root.yaml"}),"."]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"conftest_policy_directory: terraform/policy\n"})}),"\n",(0,i.jsxs)(n.admonition,{type:"info",children:[(0,i.jsxs)(n.p,{children:["If you configure the ",(0,i.jsx)(n.code,{children:"conftest"})," field, ",(0,i.jsx)(n.code,{children:"conftest_policy_directory"})," is ignored.\nYou should migrate ",(0,i.jsx)(n.code,{children:"conftest_policy_directory"})," to ",(0,i.jsx)(n.code,{children:"conftest"}),"."]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"conftest:\n - policy: terraform/policy\n plan: true\n"})})]}),"\n",(0,i.jsx)(n.h3,{id:"conftest-1",children:"conftest"}),"\n",(0,i.jsxs)(n.p,{children:["tfaction >= ",(0,i.jsx)(n.a,{href:"https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.8.0",children:"v1.8.0"}),":"]}),"\n",(0,i.jsx)(n.p,{children:"You can configure policies at three layers."}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsx)(n.li,{children:"tfaction.yaml"}),"\n",(0,i.jsx)(n.li,{children:"target_group in tfaction-root.yaml"}),"\n",(0,i.jsx)(n.li,{children:"root in tfaction-root.yaml"}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"tfaction-root.yaml:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"conftest:\n policies:\n - policy: policy/plan\n plan: true\n id: plan\ntarget_groups:\n - working_directory: aws/\n # ...\n conftest:\n disable_all: true\n # ...\n"})}),"\n",(0,i.jsx)(n.p,{children:"tfaction.yaml:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"conftest:\n policies:\n - id: plan\n enabled: false\n - policy: policy/combine/tf\n tf: true\n combine: true\n data: data\n"})}),"\n",(0,i.jsxs)(n.p,{children:["Basically, tfaction joins ",(0,i.jsx)(n.code,{children:"conftest.policies"})," and runs ",(0,i.jsx)(n.code,{children:"conftest test"})," by policy.\nUsing ",(0,i.jsx)(n.code,{children:"id"})," field, you can also overwrite the existing policy."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"conftest"}),":"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"disable_all"}),": Boolean. If this is true, settings in previous layers are disabled"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"policies"}),": A list of policies"]}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"conftest.policies[]"}),":"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"policy"}),": A relative path to a policy directory from the repository root directory"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"id"}),": unique id of policy. This is optional. This is used to overwrite the setting"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"data"}),": conftest test's -data option. A relative path to a data directory from the repository root directory"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"plan"}),": boolean. Whether this policy is for plan files. The default is false"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"tf"}),": boolean. Whether this policy is for *.tf and *.tf.json. The default is false"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"combine"}),": boolean. conftest test's -combine option. The default is false"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"enabled"}),": boolean. Whether this policy is enabled. The default is true"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"paths"}),": A list of tested file paths. ",(0,i.jsx)(n.a,{href:"https://www.npmjs.com/package/glob",children:"glob"})," is available."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:'conftest:\n policies:\n - policy: policy/tf\n id: tf\n tf: true\n - policy: policy/combine/tf\n combine: true\n tf: true\n - policy: policy/plan\n plan: true\n - policy: policy/tfaction\n paths:\n - tfaction.yaml\n - policy: policy/json\n paths:\n - "*.json"\n'})}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"disable_all"}),":"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"conftest:\n disable_all: true # Disable settings of previous layers\n policies:\n - policy: policy/tf\n tf: true\n"})}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"enabled: false"}),": Disable specific policies."]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"conftest:\n policies:\n - id: tf\n enabled: false\n - policy: policy/plan\n plan: true\n"})})]})}function p(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>l});var i=t(6540);const s={},o=i.createContext(s);function c(e){const n=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/427afbfa.ea3409f7.js b/docs/assets/js/427afbfa.ea3409f7.js new file mode 100644 index 000000000..0ce986a5d --- /dev/null +++ b/docs/assets/js/427afbfa.ea3409f7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunktfaction=self.webpackChunktfaction||[]).push([[110],{7756:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>r,contentTitle:()=>c,default:()=>h,frontMatter:()=>o,metadata:()=>l,toc:()=>d});var t=s(4848),i=s(8453);const o={sidebar_position:600},c="Conftest",l={id:"feature/conftest",title:"Conftest",description:"Conftest support was improved at tfaction v1.8.0.",source:"@site/docs/feature/conftest.md",sourceDirName:"feature",slug:"/feature/conftest",permalink:"/tfaction/docs/feature/conftest",draft:!1,unlisted:!1,editUrl:"https://github.com/suzuki-shunsuke/tfaction-docs/edit/main/docs/feature/conftest.md",tags:[],version:"current",sidebarPosition:600,frontMatter:{sidebar_position:600},sidebar:"tutorialSidebar",previous:{title:"Manage Terraform Modules",permalink:"/tfaction/docs/feature/module"},next:{title:"Support skipping terraform plan and terraform apply in case of pull request by Renovate",permalink:"/tfaction/docs/feature/support-skipping-terraform-renovate-pr"}},r={},d=[{value:"Settings",id:"settings",level:2},{value:"conftest_policy_directory",id:"conftest_policy_directory",level:3},{value:"conftest",id:"conftest-1",level:3},{value:"Example",id:"example",level:2}];function a(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"conftest",children:"Conftest"})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsxs)(n.p,{children:["Conftest support was improved at tfaction ",(0,t.jsx)(n.a,{href:"https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.8.0",children:"v1.8.0"}),"."]})}),"\n",(0,t.jsxs)(n.p,{children:["About Conftest, please see ",(0,t.jsx)(n.a,{href:"https://www.conftest.dev/",children:"https://www.conftest.dev/"})," ."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://www.openpolicyagent.org/docs/latest/terraform/",children:"https://www.openpolicyagent.org/docs/latest/terraform/"})}),"\n",(0,t.jsx)(n.p,{children:"tfaction supports validating files using Conftest.\nAny violation is notified as pull request comment."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.img,{src:"https://user-images.githubusercontent.com/13323303/150035710-249c4cbd-47fa-46d7-ae0d-28ab4ace1a64.png",alt:"image"})}),"\n",(0,t.jsx)(n.p,{children:"tfaction doesn't provide any Conftest Policy. Please write your Conftest Policy freely."}),"\n",(0,t.jsx)(n.p,{children:"We recommend writing the document about Conftest Policy per policy."}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{children:"policy/\n github_issue_label_description.rego # Policy\n github_issue_label_description_test.rego # Policy Test\n github_issue_label_description.md # Policy Document\n"})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.img,{src:"https://user-images.githubusercontent.com/13323303/150035773-1702fba7-5058-412f-b41c-f69793237dd7.png",alt:"image"})}),"\n",(0,t.jsx)(n.h2,{id:"settings",children:"Settings"}),"\n",(0,t.jsxs)(n.p,{children:["By default, tfaction runs Conftest if the directory ",(0,t.jsx)(n.code,{children:"policy"})," exists in the repository root directory."]}),"\n",(0,t.jsx)(n.h3,{id:"conftest_policy_directory",children:"conftest_policy_directory"}),"\n",(0,t.jsxs)(n.p,{children:["tfaction >= ",(0,t.jsx)(n.a,{href:"https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.1.0",children:"v1.1.0"}),":"]}),"\n",(0,t.jsxs)(n.p,{children:["You can change the directory by the setting ",(0,t.jsx)(n.code,{children:"conftest_policy_directory"})," in ",(0,t.jsx)(n.code,{children:"tfaction-root.yaml"}),"."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"conftest_policy_directory: terraform/policy\n"})}),"\n",(0,t.jsxs)(n.admonition,{type:"info",children:[(0,t.jsxs)(n.p,{children:["If you configure the ",(0,t.jsx)(n.code,{children:"conftest"})," field, ",(0,t.jsx)(n.code,{children:"conftest_policy_directory"})," is ignored.\nYou should migrate ",(0,t.jsx)(n.code,{children:"conftest_policy_directory"})," to ",(0,t.jsx)(n.code,{children:"conftest"}),"."]}),(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"conftest:\n - policy: terraform/policy\n plan: true\n"})})]}),"\n",(0,t.jsx)(n.h3,{id:"conftest-1",children:"conftest"}),"\n",(0,t.jsxs)(n.p,{children:["tfaction >= ",(0,t.jsx)(n.a,{href:"https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.8.0",children:"v1.8.0"}),":"]}),"\n",(0,t.jsx)(n.p,{children:"You can configure policies at three layers."}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsx)(n.li,{children:"tfaction.yaml"}),"\n",(0,t.jsx)(n.li,{children:"target_group in tfaction-root.yaml"}),"\n",(0,t.jsx)(n.li,{children:"root in tfaction-root.yaml"}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"tfaction-root.yaml:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"conftest:\n policies:\n - policy: policy/plan\n plan: true\n id: plan\ntarget_groups:\n - working_directory: aws/\n # ...\n conftest:\n disable_all: true\n # ...\n"})}),"\n",(0,t.jsx)(n.p,{children:"tfaction.yaml:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"conftest:\n policies:\n - id: plan\n enabled: false\n - policy: policy/combine/tf\n tf: true\n combine: true\n data: data\n"})}),"\n",(0,t.jsxs)(n.p,{children:["Basically, tfaction joins ",(0,t.jsx)(n.code,{children:"conftest.policies"})," and runs ",(0,t.jsx)(n.code,{children:"conftest test"})," by policy.\nUsing ",(0,t.jsx)(n.code,{children:"id"})," field, you can also overwrite the existing policy."]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"conftest"}),":"]}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"disable_all"}),": Boolean. If this is true, settings in previous layers are disabled"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"policies"}),": A list of policies"]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"conftest.policies[]"}),":"]}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["tfaction specific options:","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"id"}),": unique id of policy. This is optional. This is used to overwrite the setting"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"plan"}),": boolean. Whether this policy is for plan files. The default is false"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"tf"}),": boolean. Whether this policy is for *.tf and *.tf.json. The default is false"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"enabled"}),": boolean. Whether this policy is enabled. The default is true"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["conftest options:","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"policy"}),": A list or a string of relative paths to a policy directory from the repository root directory"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"data"}),": A list or a string of conftest test's ",(0,t.jsx)(n.code,{children:"-data"})," option. A relative path to a data directory from the repository root directory"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"combine"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-combine"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"fail_on_warn"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-fail-on-warn"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"no_fail"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-no-fail"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"all_namespaces"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-all-namespaces"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"quiet"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-quiet"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"trace"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-trace"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"strict"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-strict"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"show_builtin_errors"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-show-builtin-errors"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"junit_hide_message"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-junit-hide-message"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"suppress_exceptions"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-suppress-exceptions"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"tls"}),": boolean. conftest test's ",(0,t.jsx)(n.code,{children:"-tls"})," option. The default is ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"parser"}),": string. conftest test's ",(0,t.jsx)(n.code,{children:"-parser"})," option"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"output"}),": string. conftest test's ",(0,t.jsx)(n.code,{children:"-output"})," option"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"namespaces"}),": A list of strings. conftest test's ",(0,t.jsx)(n.code,{children:"-namespace"})," option"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"paths"}),": A list of tested file paths. ",(0,t.jsx)(n.a,{href:"https://www.npmjs.com/package/glob",children:"glob"})," is available."]}),"\n"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"conftest:\n policies:\n - policy: # array or string\n - policy/terraform\n data: # array or string\n - data/data.yaml\n fail_on_warn: true\n no_fail: true\n all_namespaces: true\n quiet: true\n trace: true\n strict: true\n show_builtin_errors: true\n junit_hide_message: true\n suppress_exceptions: true\n tls: true\n parser: hcl\n output: json\n namespaces:\n - main\n"})}),"\n",(0,t.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:'conftest:\n policies:\n - policy: policy/tf\n id: tf\n tf: true\n - policy: policy/combine/tf\n combine: true\n tf: true\n - policy: policy/plan\n plan: true\n - policy: policy/tfaction\n paths:\n - tfaction.yaml\n - policy: policy/json\n paths:\n - "*.json"\n'})}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"disable_all"}),":"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"conftest:\n disable_all: true # Disable settings of previous layers\n policies:\n - policy: policy/tf\n tf: true\n"})}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"enabled: false"}),": Disable specific policies."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"conftest:\n policies:\n - id: tf\n enabled: false\n - policy: policy/plan\n plan: true\n"})})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},8453:(e,n,s)=>{s.d(n,{R:()=>c,x:()=>l});var t=s(6540);const i={},o=t.createContext(i);function c(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/runtime~main.d162defe.js b/docs/assets/js/runtime~main.33f550ec.js similarity index 98% rename from docs/assets/js/runtime~main.d162defe.js rename to docs/assets/js/runtime~main.33f550ec.js index ce72f52fd..466cb640a 100644 --- a/docs/assets/js/runtime~main.d162defe.js +++ b/docs/assets/js/runtime~main.33f550ec.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,t,r,f,c={},o={};function b(e){var a=o[e];if(void 0!==a)return a.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return c[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}b.m=c,b.c=o,e=[],b.O=(a,t,r,f)=>{if(!t){var c=1/0;for(i=0;i=f)&&Object.keys(b.O).every((e=>b.O[e](t[n])))?t.splice(n--,1):(o=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},b.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return b.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);b.r(f);var c={};a=a||[null,t({}),t([]),t(t)];for(var o=2&r&&e;"object"==typeof o&&!~a.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,b.d(f,c),f},b.d=(e,a)=>{for(var t in a)b.o(a,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((a,t)=>(b.f[t](e,a),a)),[])),b.u=e=>"assets/js/"+({38:"84af34e6",48:"a94703ab",49:"ea6488c7",98:"a7bd4aaa",110:"427afbfa",132:"5618a29c",138:"1a4e3797",140:"292e19a6",183:"7b1eee54",216:"52673ee0",263:"c7e062af",264:"3382fb32",294:"55137415",330:"d91d8021",349:"46e5cf78",352:"12d81c20",394:"9b165e90",401:"17896441",413:"1db64337",424:"41b5e727",434:"c118aa88",436:"bd74bfd0",575:"90bea83b",588:"6ee36d1e",602:"1f890fd3",613:"7be14212",647:"5e95c892",665:"b875ed83",698:"4e319a51",742:"aba21aa0",792:"5980a864",803:"3f479b41",853:"b6cf1f2b",867:"e21b51a5",910:"7094042e",917:"55922973",932:"c6d0ff9c",933:"bc6b15c8",957:"c141421f",999:"ecb210dc"}[e]||e)+"."+{38:"ee93f087",48:"0844ebfb",49:"cd5b3bf3",98:"1807bc2b",110:"45a9539b",132:"15d3ac3a",138:"c2e2140b",140:"4bb3e71d",158:"7ac799d9",183:"9c55651c",216:"6b3d7363",237:"19afb0a0",263:"c37ba64b",264:"a9261181",294:"050efeac",330:"212e830e",349:"703352fb",352:"5a30b631",394:"c44f0707",401:"9a16809e",413:"bcd13144",416:"d0ec0fc0",424:"78ea06e0",434:"2a3cbe41",436:"262be1d7",575:"89f01cb4",588:"300a31e7",602:"9f3504bb",613:"6e92110d",647:"5ec9231b",665:"87285908",698:"6c43fd84",742:"2e1e4c7f",792:"a718e005",803:"4b4211fe",853:"f90f6fee",867:"4382c315",910:"47a592f6",913:"1cf911ef",917:"a71157eb",932:"dde69abb",933:"10c797f3",957:"08077921",999:"7e4c8a76"}[e]+".js",b.miniCssF=e=>{},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="tfaction:",b.l=(e,a,t,c)=>{if(r[e])r[e].push(a);else{var o,n;if(void 0!==t)for(var d=document.getElementsByTagName("script"),i=0;i{o.onerror=o.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),n&&document.head.appendChild(o)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.p="/tfaction/docs/",b.gca=function(e){return e={17896441:"401",55137415:"294",55922973:"917","84af34e6":"38",a94703ab:"48",ea6488c7:"49",a7bd4aaa:"98","427afbfa":"110","5618a29c":"132","1a4e3797":"138","292e19a6":"140","7b1eee54":"183","52673ee0":"216",c7e062af:"263","3382fb32":"264",d91d8021:"330","46e5cf78":"349","12d81c20":"352","9b165e90":"394","1db64337":"413","41b5e727":"424",c118aa88:"434",bd74bfd0:"436","90bea83b":"575","6ee36d1e":"588","1f890fd3":"602","7be14212":"613","5e95c892":"647",b875ed83:"665","4e319a51":"698",aba21aa0:"742","5980a864":"792","3f479b41":"803",b6cf1f2b:"853",e21b51a5:"867","7094042e":"910",c6d0ff9c:"932",bc6b15c8:"933",c141421f:"957",ecb210dc:"999"}[e]||e,b.p+b.u(e)},(()=>{var e={354:0,869:0};b.f.j=(a,t)=>{var r=b.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(354|869)$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var c=b.p+b.u(a),o=new Error;b.l(c,(t=>{if(b.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;o.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",o.name="ChunkLoadError",o.type=f,o.request=c,r[1](o)}}),"chunk-"+a,a)}},b.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,c=t[0],o=t[1],n=t[2],d=0;if(c.some((a=>0!==e[a]))){for(r in o)b.o(o,r)&&(b.m[r]=o[r]);if(n)var i=n(b)}for(a&&a(t);d{"use strict";var e,a,t,r,f,c={},o={};function b(e){var a=o[e];if(void 0!==a)return a.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return c[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}b.m=c,b.c=o,e=[],b.O=(a,t,r,f)=>{if(!t){var c=1/0;for(i=0;i=f)&&Object.keys(b.O).every((e=>b.O[e](t[n])))?t.splice(n--,1):(o=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},b.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return b.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);b.r(f);var c={};a=a||[null,t({}),t([]),t(t)];for(var o=2&r&&e;"object"==typeof o&&!~a.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,b.d(f,c),f},b.d=(e,a)=>{for(var t in a)b.o(a,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((a,t)=>(b.f[t](e,a),a)),[])),b.u=e=>"assets/js/"+({38:"84af34e6",48:"a94703ab",49:"ea6488c7",98:"a7bd4aaa",110:"427afbfa",132:"5618a29c",138:"1a4e3797",140:"292e19a6",183:"7b1eee54",216:"52673ee0",263:"c7e062af",264:"3382fb32",294:"55137415",330:"d91d8021",349:"46e5cf78",352:"12d81c20",394:"9b165e90",401:"17896441",413:"1db64337",424:"41b5e727",434:"c118aa88",436:"bd74bfd0",575:"90bea83b",588:"6ee36d1e",602:"1f890fd3",613:"7be14212",647:"5e95c892",665:"b875ed83",698:"4e319a51",742:"aba21aa0",792:"5980a864",803:"3f479b41",853:"b6cf1f2b",867:"e21b51a5",910:"7094042e",917:"55922973",932:"c6d0ff9c",933:"bc6b15c8",957:"c141421f",999:"ecb210dc"}[e]||e)+"."+{38:"ee93f087",48:"0844ebfb",49:"cd5b3bf3",98:"1807bc2b",110:"ea3409f7",132:"15d3ac3a",138:"c2e2140b",140:"4bb3e71d",158:"7ac799d9",183:"9c55651c",216:"6b3d7363",237:"19afb0a0",263:"c37ba64b",264:"a9261181",294:"050efeac",330:"212e830e",349:"703352fb",352:"5a30b631",394:"c44f0707",401:"9a16809e",413:"bcd13144",416:"d0ec0fc0",424:"78ea06e0",434:"2a3cbe41",436:"262be1d7",575:"89f01cb4",588:"300a31e7",602:"9f3504bb",613:"6e92110d",647:"5ec9231b",665:"87285908",698:"6c43fd84",742:"2e1e4c7f",792:"a718e005",803:"4b4211fe",853:"f90f6fee",867:"4382c315",910:"47a592f6",913:"1cf911ef",917:"a71157eb",932:"dde69abb",933:"10c797f3",957:"08077921",999:"7e4c8a76"}[e]+".js",b.miniCssF=e=>{},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="tfaction:",b.l=(e,a,t,c)=>{if(r[e])r[e].push(a);else{var o,n;if(void 0!==t)for(var d=document.getElementsByTagName("script"),i=0;i{o.onerror=o.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),n&&document.head.appendChild(o)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.p="/tfaction/docs/",b.gca=function(e){return e={17896441:"401",55137415:"294",55922973:"917","84af34e6":"38",a94703ab:"48",ea6488c7:"49",a7bd4aaa:"98","427afbfa":"110","5618a29c":"132","1a4e3797":"138","292e19a6":"140","7b1eee54":"183","52673ee0":"216",c7e062af:"263","3382fb32":"264",d91d8021:"330","46e5cf78":"349","12d81c20":"352","9b165e90":"394","1db64337":"413","41b5e727":"424",c118aa88:"434",bd74bfd0:"436","90bea83b":"575","6ee36d1e":"588","1f890fd3":"602","7be14212":"613","5e95c892":"647",b875ed83:"665","4e319a51":"698",aba21aa0:"742","5980a864":"792","3f479b41":"803",b6cf1f2b:"853",e21b51a5:"867","7094042e":"910",c6d0ff9c:"932",bc6b15c8:"933",c141421f:"957",ecb210dc:"999"}[e]||e,b.p+b.u(e)},(()=>{var e={354:0,869:0};b.f.j=(a,t)=>{var r=b.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(354|869)$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var c=b.p+b.u(a),o=new Error;b.l(c,(t=>{if(b.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;o.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",o.name="ChunkLoadError",o.type=f,o.request=c,r[1](o)}}),"chunk-"+a,a)}},b.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,c=t[0],o=t[1],n=t[2],d=0;if(c.some((a=>0!==e[a]))){for(r in o)b.o(o,r)&&(b.m[r]=o[r]);if(n)var i=n(b)}for(a&&a(t);d How to add a working directory | tfaction - + diff --git a/docs/config/aqua/index.html b/docs/config/aqua/index.html index 7b954044b..500c7ff5b 100644 --- a/docs/config/aqua/index.html +++ b/docs/config/aqua/index.html @@ -4,7 +4,7 @@ aqua.yaml | tfaction - + diff --git a/docs/config/github-token/index.html b/docs/config/github-token/index.html index b5e253ba0..a6c3c691f 100644 --- a/docs/config/github-token/index.html +++ b/docs/config/github-token/index.html @@ -4,7 +4,7 @@ GitHub Access Token | tfaction - + diff --git a/docs/config/index.html b/docs/config/index.html index 83e1412af..5fa752d99 100644 --- a/docs/config/index.html +++ b/docs/config/index.html @@ -4,7 +4,7 @@ Configuration | tfaction - + diff --git a/docs/config/pull_request_target/index.html b/docs/config/pull_request_target/index.html index 323c4ea87..bd7c4305b 100644 --- a/docs/config/pull_request_target/index.html +++ b/docs/config/pull_request_target/index.html @@ -4,7 +4,7 @@ Prevent workflows from being tampered using pull_request_target | tfaction - + diff --git a/docs/config/secret/index.html b/docs/config/secret/index.html index a5492652c..2dc92fbe7 100644 --- a/docs/config/secret/index.html +++ b/docs/config/secret/index.html @@ -4,7 +4,7 @@ Secrets Management | tfaction - + diff --git a/docs/config/setup/index.html b/docs/config/setup/index.html index 8f34ef7ae..04e64d13d 100644 --- a/docs/config/setup/index.html +++ b/docs/config/setup/index.html @@ -4,7 +4,7 @@ Set up | tfaction - + diff --git a/docs/config/terraform-cli-options/index.html b/docs/config/terraform-cli-options/index.html index 0a739c3cc..e72e65959 100644 --- a/docs/config/terraform-cli-options/index.html +++ b/docs/config/terraform-cli-options/index.html @@ -4,7 +4,7 @@ Set Terraform CLI options with the environment variable | tfaction - + diff --git a/docs/config/tfaction-root-yaml/index.html b/docs/config/tfaction-root-yaml/index.html index 4d837a766..501a84cbe 100644 --- a/docs/config/tfaction-root-yaml/index.html +++ b/docs/config/tfaction-root-yaml/index.html @@ -4,7 +4,7 @@ tfaction-root.yaml | tfaction - + diff --git a/docs/config/tfaction-yaml/index.html b/docs/config/tfaction-yaml/index.html index f51a36a0e..85ef42691 100644 --- a/docs/config/tfaction-yaml/index.html +++ b/docs/config/tfaction-yaml/index.html @@ -4,7 +4,7 @@ tfaction.yaml | tfaction - + diff --git a/docs/config/tfprovidercheck/index.html b/docs/config/tfprovidercheck/index.html index 303c6d615..6ee225b3a 100644 --- a/docs/config/tfprovidercheck/index.html +++ b/docs/config/tfprovidercheck/index.html @@ -4,7 +4,7 @@ Validate Terraform Providers using tfprovidercheck | tfaction - + diff --git a/docs/feature/auto-fix/index.html b/docs/feature/auto-fix/index.html index 7c40b5351..6105f1769 100644 --- a/docs/feature/auto-fix/index.html +++ b/docs/feature/auto-fix/index.html @@ -4,7 +4,7 @@ Auto Fix .terraform.lock.hcl and Terraform Configuration | tfaction - + diff --git a/docs/feature/auto-update-related-prs/index.html b/docs/feature/auto-update-related-prs/index.html index 25336fa2f..da7e62d9b 100644 --- a/docs/feature/auto-update-related-prs/index.html +++ b/docs/feature/auto-update-related-prs/index.html @@ -4,7 +4,7 @@ Automatically update related pull requests when the remote state is updated | tfaction - + diff --git a/docs/feature/build-matrix/index.html b/docs/feature/build-matrix/index.html index d4137e2ce..50ea9fc0f 100644 --- a/docs/feature/build-matrix/index.html +++ b/docs/feature/build-matrix/index.html @@ -4,7 +4,7 @@ Support Monorepo with GitHub Actions build matrix | tfaction - + diff --git a/docs/feature/conftest/index.html b/docs/feature/conftest/index.html index 8ab5a079e..fcf526f1e 100644 --- a/docs/feature/conftest/index.html +++ b/docs/feature/conftest/index.html @@ -4,7 +4,7 @@ Conftest | tfaction - + @@ -48,15 +48,37 @@

conftestglob is available. +
conftest:
policies:
- policy: # array or string
- policy/terraform
data: # array or string
- data/data.yaml
fail_on_warn: true
no_fail: true
all_namespaces: true
quiet: true
trace: true
strict: true
show_builtin_errors: true
junit_hide_message: true
suppress_exceptions: true
tls: true
parser: hcl
output: json
namespaces:
- main

Example

conftest:
policies:
- policy: policy/tf
id: tf
tf: true
- policy: policy/combine/tf
combine: true
tf: true
- policy: policy/plan
plan: true
- policy: policy/tfaction
paths:
- tfaction.yaml
- policy: policy/json
paths:
- "*.json"

disable_all:

diff --git a/docs/feature/destroy/index.html b/docs/feature/destroy/index.html index e83bd4f8e..fe112b0cc 100644 --- a/docs/feature/destroy/index.html +++ b/docs/feature/destroy/index.html @@ -4,7 +4,7 @@ Destroy resources | tfaction - + diff --git a/docs/feature/drift-detection/index.html b/docs/feature/drift-detection/index.html index 119ea06ec..25b3a8b0b 100644 --- a/docs/feature/drift-detection/index.html +++ b/docs/feature/drift-detection/index.html @@ -4,7 +4,7 @@ Drift Detection | tfaction - + diff --git a/docs/feature/follow-up-pr/index.html b/docs/feature/follow-up-pr/index.html index ebacba697..fb28a1a92 100644 --- a/docs/feature/follow-up-pr/index.html +++ b/docs/feature/follow-up-pr/index.html @@ -4,7 +4,7 @@ Create a pull request automatically to handle the problem when apply failed | tfaction - + diff --git a/docs/feature/generate-config-out/index.html b/docs/feature/generate-config-out/index.html index e1cb79900..76619e2a5 100644 --- a/docs/feature/generate-config-out/index.html +++ b/docs/feature/generate-config-out/index.html @@ -4,7 +4,7 @@ Generate code by terraform plan -generate-config-out | tfaction - + diff --git a/docs/feature/linter/index.html b/docs/feature/linter/index.html index a32a97cd4..434354e34 100644 --- a/docs/feature/linter/index.html +++ b/docs/feature/linter/index.html @@ -4,7 +4,7 @@ Linters | tfaction - + diff --git a/docs/feature/local-path-module/index.html b/docs/feature/local-path-module/index.html index 586bad8bd..70def8fa3 100644 --- a/docs/feature/local-path-module/index.html +++ b/docs/feature/local-path-module/index.html @@ -4,7 +4,7 @@ Run CI on working directories that depend on a updated local path Module | tfaction - + diff --git a/docs/feature/module/index.html b/docs/feature/module/index.html index 98bbde214..a0ef8d141 100644 --- a/docs/feature/module/index.html +++ b/docs/feature/module/index.html @@ -4,7 +4,7 @@ Manage Terraform Modules | tfaction - + diff --git a/docs/feature/plan-file/index.html b/docs/feature/plan-file/index.html index f5614f5e1..1de7acd59 100644 --- a/docs/feature/plan-file/index.html +++ b/docs/feature/plan-file/index.html @@ -4,7 +4,7 @@ Apply safely with Terraform Plan File | tfaction - + diff --git a/docs/feature/renovate/index.html b/docs/feature/renovate/index.html index caa0ef357..7b2cd68f1 100644 --- a/docs/feature/renovate/index.html +++ b/docs/feature/renovate/index.html @@ -4,7 +4,7 @@ Update dependencies with Renovate safely | tfaction - + diff --git a/docs/feature/scaffold-working-dir/index.html b/docs/feature/scaffold-working-dir/index.html index f03574c35..0d5996ab9 100644 --- a/docs/feature/scaffold-working-dir/index.html +++ b/docs/feature/scaffold-working-dir/index.html @@ -4,7 +4,7 @@ Scaffold working directory by GitHub Actions workflow_dispatch event | tfaction - + diff --git a/docs/feature/skip-creating-pr/index.html b/docs/feature/skip-creating-pr/index.html index d880cb6c0..f3327dc2a 100644 --- a/docs/feature/skip-creating-pr/index.html +++ b/docs/feature/skip-creating-pr/index.html @@ -4,7 +4,7 @@ Support skipping creating pull requests | tfaction - + diff --git a/docs/feature/support-skipping-terraform-renovate-pr/index.html b/docs/feature/support-skipping-terraform-renovate-pr/index.html index 4f79733ba..706bc3206 100644 --- a/docs/feature/support-skipping-terraform-renovate-pr/index.html +++ b/docs/feature/support-skipping-terraform-renovate-pr/index.html @@ -4,7 +4,7 @@ Support skipping terraform plan and terraform apply in case of pull request by Renovate | tfaction - + diff --git a/docs/feature/terraform-docs/index.html b/docs/feature/terraform-docs/index.html index 4bd593f69..7b3d6ab7a 100644 --- a/docs/feature/terraform-docs/index.html +++ b/docs/feature/terraform-docs/index.html @@ -4,7 +4,7 @@ Generate document using terraform-docs | tfaction - + diff --git a/docs/feature/tfcmt/index.html b/docs/feature/tfcmt/index.html index 4cedeb28a..a94af8135 100644 --- a/docs/feature/tfcmt/index.html +++ b/docs/feature/tfcmt/index.html @@ -4,7 +4,7 @@ Notify the result of terraform plan and apply with tfcmt | tfaction - + diff --git a/docs/feature/tfmigrate/index.html b/docs/feature/tfmigrate/index.html index b8e3d8b3a..a697bebc3 100644 --- a/docs/feature/tfmigrate/index.html +++ b/docs/feature/tfmigrate/index.html @@ -4,7 +4,7 @@ tfmigrate | tfaction - + diff --git a/docs/feature/use-terraform-compatible-tool/index.html b/docs/feature/use-terraform-compatible-tool/index.html index 67497bf09..483a6053f 100644 --- a/docs/feature/use-terraform-compatible-tool/index.html +++ b/docs/feature/use-terraform-compatible-tool/index.html @@ -4,7 +4,7 @@ Use a Terraform compatible tool | tfaction - + diff --git a/docs/index.html b/docs/index.html index 737a333dd..e7f662d8f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,7 +4,7 @@ tfaction | tfaction - + diff --git a/docs/search/index.html b/docs/search/index.html index cc4f23ceb..66e23a64d 100644 --- a/docs/search/index.html +++ b/docs/search/index.html @@ -4,7 +4,7 @@ Search the documentation | tfaction - +