httpTokens

val httpTokens: Output<String>

Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:

  • optional: does not forcefully use the security-enhanced mode (IMDSv2).

  • required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.