Skip to content

Commit

Permalink
[#3709] Add parameter for imds hop limit
Browse files Browse the repository at this point in the history
### What is the feature/fix?

https://app.asana.com/0/1203637156732418/1205869846896128/f

### Add screenshot or video (optional)

** Any screenshot or video capture using the feature **

### Does it has a breaking change?

** Describe the changes and if it has any breaking changes in any feature **

### How to use/test it?

** Describe how to test or use the feature **

### Checklist
- [ ] New coverage tests
- [ ] Unit tests passing
- [ ] E2E tests passing
- [ ] E2E downgrade/update test passing
- [ ] Documentation updated
- [ ] No warnings or errors on Deepsource/Codecov
  • Loading branch information
nightfury1204 committed Nov 20, 2023
1 parent 98bb8a5 commit 58d39e2
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions provider/aws/formation/rack.json
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,13 @@
"Default": "optional",
"AllowedValues": [ "optional", "required" ]
},
"IMDSHttpPutResponseHopLimit": {
"Type": "Number",
"Description": "The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel",
"Default": "1",
"MaxValue": "64",
"MinValue": "1"
},
"Internal": {
"Type": "String",
"Description": "Support applications that are only accessible inside the VPC",
Expand Down Expand Up @@ -1758,7 +1765,8 @@
},
"MetadataOptions" : {
"HttpEndpoint" : "enabled",
"HttpTokens" : { "Ref": "IMDSHttpTokens"}
"HttpTokens" : { "Ref": "IMDSHttpTokens"},
"HttpPutResponseHopLimit" : { "Ref": "IMDSHttpPutResponseHopLimit" }
},
"Monitoring" : {
"Enabled" : true
Expand Down Expand Up @@ -1992,7 +2000,8 @@
},
"MetadataOptions" : {
"HttpEndpoint" : "enabled",
"HttpTokens" : { "Ref": "IMDSHttpTokens"}
"HttpTokens" : { "Ref": "IMDSHttpTokens"},
"HttpPutResponseHopLimit" : { "Ref": "IMDSHttpPutResponseHopLimit" }
},
"Monitoring" : {
"Enabled" : true
Expand Down Expand Up @@ -2532,7 +2541,8 @@
},
"MetadataOptions" : {
"HttpEndpoint" : "enabled",
"HttpTokens" : { "Ref": "IMDSHttpTokens"}
"HttpTokens" : { "Ref": "IMDSHttpTokens"},
"HttpPutResponseHopLimit" : { "Ref": "IMDSHttpPutResponseHopLimit" }
},
"Monitoring" : {
"Enabled" : true
Expand Down

0 comments on commit 58d39e2

Please sign in to comment.