cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

Import Operation Resource Type Coverage

Open lukbes opened this issue 5 years ago • 18 comments

Tracking expansion of resource type coverage for import operations:

create-change-set --resources-to-import

Resources types that currently Support Import Operations

lukbes avatar Nov 25 '19 20:11 lukbes

https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/issues/303 https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/898


Stateful resource types should be prioritized for import operations: ~~AWS::Backup::BackupVault~~ AWS::DocDB::DBCluster AWS::DocDB::DBInstance ~~AWS::EFS::FileSystem~~ AWS::EMR::Cluster AWS::ElastiCache::CacheCluster AWS::ElastiCache::ReplicationGroup AWS::Elasticsearch::Domain AWS::FSx::FileSystem AWS::Neptune::DBCluster AWS::Neptune::DBInstance AWS::QLDB::Ledger ~~AWS::Redshift::Cluster~~ AWS::SDB::Domain etc.

PatMyron avatar Dec 16 '19 23:12 PatMyron

Import is such a hugely amazing feature for evolving Stacks: definitely want to see more of it. We would really love to see AWS::EKS::Cluster specifically.

reiddhughes avatar Jun 10 '20 19:06 reiddhughes

@PatMyron which process is being used to determine which resources should be migrated, and in which order? Closing the other issues keeps the discussion in one place, but how are customers supposed to indicate which resources they need import on most?

(the stateful comment above is a good first indicator, but there might be more customers impacted by eg. EFS than by ElastiCache - and even stateless resources might have a performance impact on an application when migrating)

benbridts avatar Aug 06 '20 10:08 benbridts

Any indication when AWS::Elasticsearch::Domain will support Import Operations? We have been wanting to get our ES cluster under CFT support for a year now, but appears it's still not supported.

seittema avatar May 19 '21 13:05 seittema

@benbridts always thought we could support importing all resource types at once. The main reason importing currently relies on ReadHandlers is checking resource existence (since import's not yet writing template snippets themselves). Worth re-evaluating whether existence check is worth holding back import functionality for most resource types, since I don't believe it is

PatMyron avatar Jul 06 '21 17:07 PatMyron

Would you please enable these resource imports? AWS::DMS::Endpoint AWS::DMS::ReplicationInstance AWS::DMS::ReplicationTask AWS::DMS::ReplicationSubnetGroup AWS::DMS::EventSubscription

nishikawa-grasys avatar Dec 16 '21 12:12 nishikawa-grasys

Requesting support for resource imports for following resources:

  • AWS::SSM::Parameter
  • AWS::Lambda::Permission
  • And all cognito resources

Thank you!

Sanchi-Halikar avatar Dec 22 '21 22:12 Sanchi-Halikar

How about AWS::Route53::RecordSet resoures?

gietschess avatar Feb 01 '22 13:02 gietschess

Reiterating @Sanchi-Halikar's comment, but specifically interested in Cognito resources

saltman424 avatar Jun 10 '22 18:06 saltman424

Requesting support for resource imports for following resources:

  • AWS::DMS::Endpoint
  • AWS::DMS::ReplicationTask

robertas-sersniovas-tg avatar Aug 03 '22 09:08 robertas-sersniovas-tg

Requesting support for resource imports for following resources:

  • AWS::EC2::SecurityGroupIngress
  • AWS::ElastiCache::ReplicationGroup

mateusduboli avatar Aug 05 '22 14:08 mateusduboli

Please add:

  • AWS::Glue::Database
  • AWS::Glue::Table

alex-harvey-z3q avatar Feb 18 '23 02:02 alex-harvey-z3q

Please add: AWS::CertificateManager::Certificate

PatrykPetryszen avatar Mar 01 '23 12:03 PatrykPetryszen

How about AWS::Route53::RecordSet resoures?

@gietschess IIRC these might actually just work by re-creating them over the top of existing resources, i.e. effectively 'adopting' existing resources into management without needing an import.

tdmalone avatar Apr 01 '23 09:04 tdmalone

I work for AWS, regarding the AWS::Route53::RecordSet There is an internal feature request open for this. As a workaround that worked in my testing: Let's say you have a hosted zone in console which has records in it and you want to import this into a cloudformation template. You first need to import the hosted zone. A stack and a template gets generated out of it. The records are not in that template yet. Then you need to update the stack and you need to add the exact records that are in the console. Cloudformation will not create new records and it will not fail (on existing records already). It will simply 'import' them into the stack.

You can use Former2 tool to get the exact resource infrastructure of the records.

Luchiap avatar May 02 '23 18:05 Luchiap

Bump on supporting import of AWS::QLDB::Ledger

Given that ledgers can't really be "backed up" and restored, would love to see this one prioritized.

icj217 avatar Jun 08 '23 14:06 icj217