Support multiple values per one cost filter

Hi There

Have been trying to use the aws budget resource to create budgets that filter across multiple accounts but unfortunately, it seems that this can’t be done and has been a bug for a while. Just wondering when this will be fixed as there has been 2 possible fixes/issues open waiting to be merged on GitHub for quite a while now. I have linked both below.


Terraform errors when you use an array/list value and says it expects a string but when you use a string that has numbers i.e. something like
cost_filters = { LinkedAccount = “111111111,222222222,3333333333,444444444,555555555” }

You get a filter that interoperates that whole string as the account number.

Am I using it wrong or?

Regards

1 Like

I’m having the same problem. Seem to be a very basic prioritization->merge issue.

Left a comment in https://github.com/terraform-providers/terraform-provider-aws/pull/9092.

1 Like