1 個回答
- 最新
- 最多得票
- 最多評論
0
According to https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#aws-resource-ec2-networkinterface-properties the allowed values for InterfaceType are branch, efa & trunk. But the default value is interface.
In CloudFormation are you specifically setting the value to interface ? If so then what happens if you leave it blank?
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
Could you provide some more details about what you're doing? Perhaps share the CLI command or API you're calling or the CloudFormation template?
We are using Aws Java SDK to create a network interface Below is a code snippet:
var request = CreateNetworkInterfaceRequest.builder().description(networkInterface.getName()) .subnetId(networkInterface.getSubnet().getId()).clientToken(clientToken) .groups(groups);
The interface type is "interface" in this case. The strange thing this works for all aws accounts that we use for our testing except one specific one for which we are getting the above error.
We wanted to understand in which scenarios such an error occurs? Is the interfacetype value account specific? If not why it fails for one account and not for others. As per the AWS documentation "interface" is a valid interfaceType value