Skip to content

Moving appconfig appflow appintegrations - #210

Merged
ulucinar merged 2 commits into
crossplane-contrib:mainfrom
svscheg:moving-appconfig-appflow-appintegrations
Dec 6, 2022
Merged

Moving appconfig appflow appintegrations#210
ulucinar merged 2 commits into
crossplane-contrib:mainfrom
svscheg:moving-appconfig-appflow-appintegrations

Conversation

@svscheg

@svscheg svscheg commented Nov 28, 2022

Copy link
Copy Markdown
Contributor

Description of your changes

Moving 6 resources in the appconfig group:

Moving 1 resources in the appflow group:

Moving 1 resource in the appintegrations group:

Fixes #23

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Manually

Screenshot 2022-11-30 at 12 34 39

Uptest
Moving 6 resources in the appconfig group:

Moving 1 resources in the appflow group:

Moving 1 resource in the appintegrations group:

@svscheg
svscheg force-pushed the moving-appconfig-appflow-appintegrations branch from 769e3e9 to dcb9dee Compare November 28, 2022 16:56
@svscheg

svscheg commented Nov 28, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appconfig/deployment.yaml"

@svscheg

svscheg commented Nov 28, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appflow/flow.yaml"

@svscheg

svscheg commented Nov 29, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appconfig/application.yaml"

@svscheg

svscheg commented Nov 29, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appconfig/configurationprofile.yaml"

@svscheg

svscheg commented Nov 29, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appconfig/deploymentstrategy.yaml"

@svscheg

svscheg commented Nov 29, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appconfig/environment.yaml"

@svscheg

svscheg commented Nov 29, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appconfig/hostedconfigurationversion.yaml"

@svscheg

svscheg commented Nov 29, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appintegrations/eventintegration.yaml"

@svscheg

svscheg commented Nov 29, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appconfig/environment.yaml"

@svscheg
svscheg force-pushed the moving-appconfig-appflow-appintegrations branch from c9b863a to c5e7460 Compare November 30, 2022 11:07
@svscheg

svscheg commented Nov 30, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appflow/flow.yaml"

@svscheg

svscheg commented Nov 30, 2022

Copy link
Copy Markdown
Contributor Author

/test-examples="examples/appconfig/deployment.yaml"

@svscheg svscheg changed the title DRAFT: Moving appconfig appflow appintegrations Moving appconfig appflow appintegrations Nov 30, 2022
@svscheg
svscheg requested review from muvaf and ulucinar November 30, 2022 13:25

@ulucinar ulucinar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hi @svscheg,
Thank you for the PR. Left some comments to further normalize the API.

Comment thread config/externalname.go Outdated
// appflow
//
// AppFlow flows can be imported using the arn
"aws_appflow_flow": config.IdentifierFromProvider,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

As above:

Suggested change
"aws_appflow_flow": config.IdentifierFromProvider,
// arn:aws:appflow:us-west-2:123456789012:flow/example-flow
"aws_appflow_flow": config.TemplatedStringAsIdentifier("name", "arn:aws:appflow:{{ .parameters.region }}:{{ .client_metadata.account_id }}:flow/{{ .external_name }}"),

Comment thread config/externalnamenottested.go Outdated
// Amazon AppIntegrations Event Integrations can be imported using the name
"aws_appintegrations_event_integration": config.NameAsIdentifier,
// AppFlow connector profiles can be imported using the arn
"aws_appflow_connector_profile": config.IdentifierFromProvider,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why do we introduce a new untested configuration in this PR? This does not exist in config/externalname.go.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

deleted

Comment thread config/provider.go
"aws_alb_target_group$", // identical with aws_lb_target_group.
"aws_alb_target_group_attachment$", // identical with aws_lb_target_group_attachment.
"aws_iot_authorizer$", // failure with unknown reason.
"aws_appflow_connector_profile$", // failure with unknown reason.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we still don't generate this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

back "aws_appflow_connector_profile$", // failure with unknown reason. to config/provider.go

@ulucinar
ulucinar force-pushed the moving-appconfig-appflow-appintegrations branch from 3744088 to e3c3a10 Compare December 6, 2022 17:18
@ulucinar
ulucinar force-pushed the moving-appconfig-appflow-appintegrations branch from e3c3a10 to ad8ca3d Compare December 6, 2022 17:26
@ulucinar

ulucinar commented Dec 6, 2022

Copy link
Copy Markdown
Collaborator

/test-examples="examples/appflow/flow.yaml"

@ulucinar

ulucinar commented Dec 6, 2022

Copy link
Copy Markdown
Collaborator

/test-examples="examples/appintegrations/eventintegration.yaml"

@ulucinar

ulucinar commented Dec 6, 2022

Copy link
Copy Markdown
Collaborator

/test-examples="examples/appflow/flow.yaml"

@ulucinar

ulucinar commented Dec 6, 2022

Copy link
Copy Markdown
Collaborator

/test-examples="examples/appintegrations/eventintegration.yaml"

@ezgidemirel ezgidemirel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks a lot @svscheg and @ulucinar !!

@ulucinar
ulucinar merged commit a5501b5 into crossplane-contrib:main Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Moving appconfig (6),appflow (1),appintegrations (1) resources to v1beta1 version

3 participants