We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cfcfdb commit 22fb986Copy full SHA for 22fb986
infrastructure/lib/kit-infrastructure.ts
@@ -112,6 +112,9 @@ export class KITInfrastructure extends Stack {
112
});
113
114
// Setup Tekton test permissions
115
+ const lt = new ec2.LaunchTemplate(this, 'tekton-tests-lt', {
116
+ requireImdsv2: true
117
+ })
118
119
const ns = cluster.addManifest('tekton-tests-ns', {
120
apiVersion: 'v1',
@@ -126,6 +129,7 @@ export class KITInfrastructure extends Stack {
126
129
namespace: testNS
127
130
})
128
131
sa.node.addDependency(ns)
132
+ sa.node.addDependency(lt)
133
sa.role.attachInlinePolicy(new iam.Policy(this, 'tekton-tests-policy', {
134
statements: [
135
new iam.PolicyStatement({
0 commit comments