Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add ECS, ECR, ALB, EC2 and Autoscaling resources #32

Merged
merged 8 commits into from
Oct 11, 2021
Merged

Add ECS, ECR, ALB, EC2 and Autoscaling resources #32

merged 8 commits into from
Oct 11, 2021

Conversation

turkenh
Copy link
Collaborator

@turkenh turkenh commented Oct 8, 2021

Signed-off-by: Hasan Turken turkenh@gmail.com

@turkenh turkenh marked this pull request as draft October 8, 2021 21:10
@turkenh turkenh changed the title Add ECS and autoscaling Add ECS, ECR, ALB and Autoscaling resources Oct 11, 2021
Signed-off-by: Hasan Turken <turkenh@gmail.com>
Signed-off-by: Hasan Turken <turkenh@gmail.com>
Signed-off-by: Hasan Turken <turkenh@gmail.com>
Signed-off-by: Hasan Turken <turkenh@gmail.com>
config/ecs/config.go Show resolved Hide resolved
config/ecs/config.go Outdated Show resolved Hide resolved
config/ecs/config.go Outdated Show resolved Hide resolved
config/lbv2/config.go Outdated Show resolved Hide resolved
Type: "Lb",
},
"default_action[*].target_group_arn": {
Type: "LbTargetGroup",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know why Lb group prefix isn't dropped?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed it but unfortunately could not use "TargetGroup" because:

		// Note(turkenh): Without setting Kind here, we get kind as "TargetGroup"
		// which sounds better however, generator fails with the following since
		// it conflicts with lblisters "TargetGroupParameters":
		//
		// panic: cannot generate crd: cannot build types for TargetGroup:
		//  cannot build the types: cannot generate parameters type name of
		//  TargetGroup: could not generate a unique name for TargetGroupParameters

Signed-off-by: Hasan Turken <turkenh@gmail.com>
Signed-off-by: Hasan Turken <turkenh@gmail.com>
@turkenh turkenh marked this pull request as ready for review October 11, 2021 13:11
@turkenh turkenh requested a review from muvaf October 11, 2021 13:12
Signed-off-by: Hasan Turken <turkenh@gmail.com>
Signed-off-by: Hasan Turken <turkenh@gmail.com>
@turkenh turkenh changed the title Add ECS, ECR, ALB and Autoscaling resources Add ECS, ECR, ALB, EC2 and Autoscaling resources Oct 11, 2021
@turkenh turkenh merged commit b815fe2 into crossplane-contrib:main Oct 11, 2021
@turkenh turkenh deleted the more-crds branch October 11, 2021 16:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants