Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does awspec support RDS Aurora? #559

Open
beviz opened this issue Apr 21, 2022 · 2 comments
Open

Does awspec support RDS Aurora? #559

beviz opened this issue Apr 21, 2022 · 2 comments

Comments

@beviz
Copy link

beviz commented Apr 21, 2022

I tried to locate my aurora cluster with awspec, but whatever the value I input, awspec cannot find it.

describe rds(db_name|cluster_id|cluster_resource_id) do
end

Does awspec still not support Aurora as of now? Is there any other way I can leverage temporarily?

@k1LoW
Copy link
Owner

k1LoW commented Apr 21, 2022

Thank you for your report.

Probably not yet supported.

def find_rds(id)
begin
res = rds_client.describe_db_instances({
db_instance_identifier: id
})
rescue StandardError
res = rds_client.describe_db_instances({
filters: [{ name: 'db-instance-id', values: [id] }]
})
end
res.db_instances.single_resource(id)
end

@alpineriveredge
Copy link
Contributor

awspec now supports rds_db_cluster and rds_global_cluster.
So you can find aurora clusters with these awspec resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants