Skip to content

Commit

Permalink
Revert "Disable IMDSv1 (awslabs#363)"
Browse files Browse the repository at this point in the history
This reverts commit 22fb986.
  • Loading branch information
bwagner5 committed Feb 10, 2023
1 parent 60430de commit 63b685b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions infrastructure/lib/kit-infrastructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ export class KITInfrastructure extends Stack {
});

// Setup Tekton test permissions
const lt = new ec2.LaunchTemplate(this, 'tekton-tests-lt', {
requireImdsv2: true
})

const ns = cluster.addManifest('tekton-tests-ns', {
apiVersion: 'v1',
Expand All @@ -129,7 +126,6 @@ export class KITInfrastructure extends Stack {
namespace: testNS
})
sa.node.addDependency(ns)
sa.node.addDependency(lt)
sa.role.attachInlinePolicy(new iam.Policy(this, 'tekton-tests-policy', {
statements: [
new iam.PolicyStatement({
Expand Down

0 comments on commit 63b685b

Please sign in to comment.