I think it's `resource` param not `resource_name`, right?