(cli): cdk import requires SetIdentifier for AWS::Route53::RecordSet and skips import if omitted
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- aws, typescript
Direzione di ricerca
Start with the linked reproduction and the cdk import flow for AWS::Route53::RecordSet, focusing on the SetIdentifier prompt. Verify behavior with a standard record that leaves SetIdentifier blank. Done means the prompt no longer skips the resource and change set creation succeeds without an arbitrary SetIdentifier.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
When attempting to import an existing AWS::Route53::RecordSet (e.g., A record or CNAME record) using cdk import, the interactive CLI prompt requires the SetIdentifier attribute to be specified.
Because SetIdentifier only exists for advanced routing policies and is not applicable to standard routing, it is an optional attribute. Despite this, leaving SetIdentifier empty during the prompt causes CDK to skip importing the resource entirely.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
SetIdentifier should be treated as optional. Leaving SetIdentifier blank should still allow change set creation (similar to the way Cloudformation imports via AWS Console work).
Current Behavior
SetIdentifier is non optional. If omitted, the resource import is skipped.
This is output from running cdk import and accepting all default values. (Some parts of the output are redacted)
👾 cdk:import | cdk import
start: Building aws-cdk-recreate-dev Template
success: Built aws-cdk-recreate-dev Template
start: Publishing aws-cdk-recreate-dev Template (******)
success: Published aws-cdk-recreate-dev Template ((******)
aws-cdk-recreate-dev/ImportedARecord/Resource (AWS::Route53::RecordSet): enter Name (******)
aws-cdk-recreate-dev/ImportedARecord/Resource (AWS::Route53::RecordSet): enter HostedZoneId (******)
aws-cdk-recreate-dev/ImportedARecord/Resource (AWS::Route53::RecordSet): enter Type (A)
aws-cdk-recreate-dev/ImportedARecord/Resource (AWS::Route53::RecordSet): enter SetIdentifier (empty to skip)
Skipping import of aws-cdk-recreate-dev/ImportedARecord/Resource
No resources selected for import.
If an arbitrary value is passed for SetIdentifier, change set creation fails since there is no matching Route 53 record with that SetIdentifier.
Reproduction Steps
https://github.com/ykageyama-mondo/aws-cdk-cli-import-issue-recreate
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.1143.0 (build 9c6bd0e)
Framework Version
No response
Node.js Version
v24.11.1
OS
EndeavourOS x86_64
Language
TypeScript
Language Version
6.0.3
Other information
No response
- Lingua principale
- TypeScript
- Stelle
- 110
- Fork
- 138
- Merge medio
- 1g 9h
- PR unite (30g)
- 55
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws/aws-cdk-cli
-
aws-cdk bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
aws/aws-cdk-cli#2179 ·
I maintainer di solito rispondono entro 1 giorno
-
(cli): deploy waits forever when an AWS API call gets no response, because requestTimeout only logs a warningForse già presa @abhiramshaji-cyber l’ha presa 27 giorni fa. Apertaaws-cdk bug p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
aws/aws-cdk-cli#2097 ·
I maintainer di solito rispondono entro 1 giorno
-
(bootstrap) FilePublishingRoleDefaultPolicy permission incorrect when FileAssetsBucketKmsKeyId is an ARN valueForse già presa @lemon0333 l’ha presa 95 giorni fa. Apertabug p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
aws/aws-cdk-cli#921 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
(garbage-collection): cdk gc takes hours on a large bootstrap bucketForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
aws/aws-cdk-cli#2165 ·
I maintainer di solito rispondono entro 1 giorno
-
(cli): cdk flags --set always reports no template differences before applying flagsForse già presa @go-to-k l’ha presa 9 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
aws/aws-cdk-cli#2153 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di aws/aws-cdk-cli
Issue simili
-
Diagram: Gantt qa-manually-tested Type: Bug / Error
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
mermaid-js/mermaid-v13#1255 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Name Option For /gifApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
BaseAdresseNationale/adresse.data.gouv.fr#2620 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno