diff --git a/apis/ec2/v1alpha1/zz_launchtemplate_terraformed.go b/apis/ec2/v1alpha1/zz_launchtemplate_terraformed.go index e7ab5b85d..58269fdad 100755 --- a/apis/ec2/v1alpha1/zz_launchtemplate_terraformed.go +++ b/apis/ec2/v1alpha1/zz_launchtemplate_terraformed.go @@ -76,7 +76,7 @@ func (tr *LaunchTemplate) SetParameters(params map[string]interface{}) error { // LateInitialize this LaunchTemplate using its observed tfState. // returns True if there are any spec changes for the resource. func (tr *LaunchTemplate) LateInitialize(attrs []byte) (bool, error) { - params := &LaunchTemplateParameters{} + params := &LaunchTemplateParameters_2{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } diff --git a/apis/ec2/v1alpha1/zz_networkinterface_terraformed.go b/apis/ec2/v1alpha1/zz_networkinterface_terraformed.go index d8c022447..754907612 100755 --- a/apis/ec2/v1alpha1/zz_networkinterface_terraformed.go +++ b/apis/ec2/v1alpha1/zz_networkinterface_terraformed.go @@ -76,7 +76,7 @@ func (tr *NetworkInterface) SetParameters(params map[string]interface{}) error { // LateInitialize this NetworkInterface using its observed tfState. // returns True if there are any spec changes for the resource. func (tr *NetworkInterface) LateInitialize(attrs []byte) (bool, error) { - params := &NetworkInterfaceParameters{} + params := &NetworkInterfaceParameters_2{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } diff --git a/apis/elasticloadbalancing/v1alpha1/zz_targetgroup_terraformed.go b/apis/elasticloadbalancing/v1alpha1/zz_targetgroup_terraformed.go index 66e663278..9981a8cb9 100755 --- a/apis/elasticloadbalancing/v1alpha1/zz_targetgroup_terraformed.go +++ b/apis/elasticloadbalancing/v1alpha1/zz_targetgroup_terraformed.go @@ -76,7 +76,7 @@ func (tr *TargetGroup) SetParameters(params map[string]interface{}) error { // LateInitialize this TargetGroup using its observed tfState. // returns True if there are any spec changes for the resource. func (tr *TargetGroup) LateInitialize(attrs []byte) (bool, error) { - params := &TargetGroupParameters{} + params := &TargetGroupParameters_2{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } diff --git a/go.mod b/go.mod index 68a82233c..4aab050f5 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.16 require ( github.com/aws/aws-sdk-go-v2 v0.23.0 - github.com/crossplane-contrib/terrajet v0.2.0 + github.com/crossplane-contrib/terrajet v0.2.1 github.com/crossplane/crossplane-runtime v0.15.1-0.20211004150827-579c1833b513 github.com/crossplane/crossplane-tools v0.0.0-20210916125540-071de511ae8e github.com/crossplane/provider-aws v0.19.0 diff --git a/go.sum b/go.sum index 4b8dfecc5..63f7dc4a7 100644 --- a/go.sum +++ b/go.sum @@ -181,8 +181,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsr github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/crossplane-contrib/terrajet v0.2.0 h1:frs9Uqq4yddhvfjIsKbctW+MBnKkYPi6XHYwh6vlOLw= -github.com/crossplane-contrib/terrajet v0.2.0/go.mod h1:RUsskXE63KZE7EcvZ7WK4UzBQjc1+7IhelK+/gIa/Go= +github.com/crossplane-contrib/terrajet v0.2.1 h1:oTdBSYyHlKfWiwGBM9hClYU/BdWhMz490xwfQBDv11Q= +github.com/crossplane-contrib/terrajet v0.2.1/go.mod h1:RUsskXE63KZE7EcvZ7WK4UzBQjc1+7IhelK+/gIa/Go= github.com/crossplane/crossplane-runtime v0.14.0/go.mod h1:Bc54/KBvV9ld/tvervcnhcSzk13FYguTqmYt72Mybps= github.com/crossplane/crossplane-runtime v0.15.1-0.20211004150827-579c1833b513 h1:Sk3QurYYpy8x3c0DvTh9iGYFSv8WgdhnjCalNqNqlRI= github.com/crossplane/crossplane-runtime v0.15.1-0.20211004150827-579c1833b513/go.mod h1:gKix9Gq5kRzVe/4XOpwlFgG7OurzrYayviJxWZakhw0=