You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using API Gateway Ingress controller in our project and we have a requirement to change the default SecurityPolicy to TLS_1_2.
As I see at the moment the AWSApiGatewayDomainName resource does not have a SecurityPolicy flag.
In pkg/cloudformation/cloudformation.go - func buildCustomDomain()
Looking at the current library you use AWSApiGatewayDomainName struct does not even have a SecurityPolicy property, although it is supported in the AWS API :
typeAWSApiGatewayDomainNamestruct {
// CertificateArn AWS CloudFormation Property// Required: false// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-certificatearnCertificateArnstring`json:"CertificateArn,omitempty"`// DomainName AWS CloudFormation Property// Required: true// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-domainnameDomainNamestring`json:"DomainName,omitempty"`// EndpointConfiguration AWS CloudFormation Property// Required: false// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-endpointconfigurationEndpointConfiguration*AWSApiGatewayDomainName_EndpointConfiguration`json:"EndpointConfiguration,omitempty"`// RegionalCertificateArn AWS CloudFormation Property// Required: false// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-regionalcertificatearnRegionalCertificateArnstring`json:"RegionalCertificateArn,omitempty"`// _deletionPolicy represents a CloudFormation DeletionPolicy_deletionPolicy policies.DeletionPolicy// _dependsOn stores the logical ID of the resources to be created before this resource_dependsOn []string// _metadata stores structured data associated with this resource_metadatamap[string]interface{}
}
I think you may need to update your cloudfromation.go file to use the latest awslabs/goformation and add the ability to change all fields (not only the mandatory ones) at least in the resource - AWSApiGatewayDomainName
It currently supports a few more things that you seem to be missing :
P.S.
In addition to that I think you are using an outdated library - "github.com/awslabs/goformation/cloudformation/resources" that seems to have changed sometime ago to , as the apigatewayv2 latest library seems to be in - https://github.com/awslabs/goformation/tree/master/cloudformation/apigatewayv2 with a different directory structure.
The text was updated successfully, but these errors were encountered:
We are using API Gateway Ingress controller in our project and we have a requirement to change the default SecurityPolicy to TLS_1_2.
As I see at the moment the AWSApiGatewayDomainName resource does not have a SecurityPolicy flag.
In pkg/cloudformation/cloudformation.go - func buildCustomDomain()
Looking at the current library you use AWSApiGatewayDomainName struct does not even have a SecurityPolicy property, although it is supported in the AWS API :
I think you may need to update your cloudfromation.go file to use the latest awslabs/goformation and add the ability to change all fields (not only the mandatory ones) at least in the resource - AWSApiGatewayDomainName
It currently supports a few more things that you seem to be missing :
P.S.
In addition to that I think you are using an outdated library - "github.com/awslabs/goformation/cloudformation/resources" that seems to have changed sometime ago to , as the apigatewayv2 latest library seems to be in - https://github.com/awslabs/goformation/tree/master/cloudformation/apigatewayv2 with a different directory structure.
The text was updated successfully, but these errors were encountered: